Galrash
03 Aug 2010, 11:22 PM
I am trying to use CSS to setup my website so that whenever you are on a certain page, say aboutme.html for example. the "About Me" link on my menu is blue instead of grey like the rest of the links, so that it highlights which page you are currently on
However I cannot figure out how to get this to work for the life of me. I googled it and someone suggested creating a #current css style and then linking it to the <li id="current"> on the html side.
so I did this:
#current ul li a { color: blue; }
and then in my menu code I did <li id="current"><a href="aboutme.html">ABOUT ME</a></li>
Still nothing
any thoughts? the site is at http://bethanylawsonphotography.com/testing/aboutme.html
thanks
(also my <p> tags don't seem to be working? any idea why? )
However I cannot figure out how to get this to work for the life of me. I googled it and someone suggested creating a #current css style and then linking it to the <li id="current"> on the html side.
so I did this:
#current ul li a { color: blue; }
and then in my menu code I did <li id="current"><a href="aboutme.html">ABOUT ME</a></li>
Still nothing
any thoughts? the site is at http://bethanylawsonphotography.com/testing/aboutme.html
thanks
(also my <p> tags don't seem to be working? any idea why? )