I wrote: > Also, I think a pseudo element like this would be nice to have. > > table::column(an+b) > > It could generate table-column boxes much like an element with display: > table-column; applied. eg. the <col> element in HTML... Having thought about this idea a little more, it seems completely unnecessary. Correct me if I'm wrong, but I believe this should have the same effect: table>:not(col):not(colgroup):first-child::before { display: table-column; background-color: green; } table>:not(col):not(colgroup):first-child::before(2) { display: table-column; background-color: blue; } 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. -- Lachlan Hunt http://lachy.id.au/Received on Saturday, 2 July 2005 06:30:37 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:39 GMT