> <span id="home" class="navbaritem"><A HREF="/">Home</a></span> > > Now the challenge is how to get the Home menu item to be formatted > differently when the home page is rendered. It's rendered through XML and > the body of the page is in the CDATA tag, so I can't get to the navbaritem. > > Can anyone think of a way to do this with styles?
You'd need to set an ID on the body and use a contextual selector with that one. However, as you are using .NET, why don't you simply generate this navigation item differently? If this is the only navigation, then the current page should not be a link anyways. A navigation is crucial site functionality, not only a visual challenge. Personally I use PHP to generate the highlighted state and CSS to make it look different. http://www.onlinetools.org/tools/easynav/ -- Chris Heilmann Blog: http://www.wait-till-i.com Writing: http://icant.co.uk/ Binaries: http://www.onlinetools.org/ ______________________________________________________________________ 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/
