Chris Perkins wrote:
> I'm using XHTML 1.1 and I'd really like to have a construct like
> this:
> #info *:last-child {margin-bottom: 0px; }
> I seem to recall that lastChild is a valid entity in the W3C DOM, but
> I'm having a devil of a time looking up to see if it is actually a
> valid CSS selector or not. Does anyone know? I know
> :first-child is, but what about :last-child ?
Should be fine...
<http://www.w3.org/TR/css3-selectors/#selectors>
...but not widely supported yet.
No workarounds in CSS for achieving wider support, AFAIK.
---
Note: XHTML 1.1 served as text/html is *not* correct.
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/