Hi Russ

Thanks very much for your reply.

> The most powerful way to achieve this (but not supported by IE) would be to
> use adjacent sibling selectors so no classes were used at all. For example:
> 
> #subnav ul li, #subnav ul li + li { background: yellow; }
> #subnav ul li + li + li, #subnav ul li + li + li + li { background: green; }

Good ol' IE - oh well, we can only hope IE7 is an improvement!

> These could then be hidden with a CSS rule along the lines of:
> ..descriptive-only { position: absolute; left: -999px; width: 990px;}

Great idea.

I have subsequently used display: none; on the headers. Is this OK, or would 
you recommend your
suggestion as being more standards-based?

Sarah
-- 
XERT Communications
email: [EMAIL PROTECTED]
office: +61 2 4782 3104
mobile: 0438 017 416

http://www.xert.com.au/   web development : digital imaging : dvd production
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to