Tee, Am Dienstag, 5. April 2005 um 15:47:49 haben Sie geschrieben:
t> This is the page I'd working on now. The body and the menu buttons are in id t> so it works but doesn't pass the validation of course. t> http://www.lotusseeds.com/big5.htm t> <.div id="siteOption"> t> <ul> t> <li id="home"><a href="traditional.html" id="home" title="home" accesskey="1" >></a></li> t> </ul> t> </div> t> My code: t> #siteOption li a#home { t> #siteOption li a#home:hover { t> body#homepage li#home a { Try to adress your links by using the containers. Give the <li> a class and discard the ids from the <a>s. Then you can set css properties by selectors like: body#homepage div#siteOption li.home a body#homepage div#navlist li.home a Try to put all containers in your css-selectors so it is much easier to identify them in the source code. If you'd need the ids for accessing elements via javascript, you could give certain elements a prefix like: li-home, a-home But in your case you should just change to classes and use more specific selectors. Martin. ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************