- From: Justin Wood <jw6057@bacon.qcc.mass.edu>
- Date: Thu, 05 Aug 2004 03:22:30 -0400
- To: Anne van Kesteren <fora@annevankesteren.nl>, W3C Style List <www-style@w3.org>
Anne van Kesteren wrote: > >>> Why not? If the markup was something like: >>> >>> <h1>Welcome to Thailand</h1> >>> >>> ... and you want to replace 'Thailand' with a decorative image. Why >>> wouldn't that be style? >> >> >> You can't replace anything with the content property in CSS 2.1, it >> applies to :before and :after only. > > > Although you could use the 'position' property to position ':before' > or ':after' on top of the element. > > ...to add to that though, using relative z-index of course! ~Justin Wood
Received on Thursday, 5 August 2004 03:23:48 UTC