Laurens Holst wrote: > > Lachlan Hunt wrote: > >> Although ::before doesn't seem to work on elemenents styled with >> 'display: table-*' in Firefox or Opera, I couldn't find anything in >> the specs that says ::before doesn't apply to such elements. > > Before is not a pseudo-class which selects the element before it, but it > is a pseudo-element, which is inserted before the element you select. I know that, I think you misunderstood what I was trying to do. if you take a look at the example I provided previously, I was trying to generate another box before the first child element in the table (if it was not a col or colgroup element) so that it could be styled as a 'table-column'. -- Lachlan Hunt http://lachy.id.au/Received on Saturday, 2 July 2005 13:35:46 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:39 GMT