Monday, August 22, 2011

Edit style of active page of your navigation menu

When building a website, it is crucial that visitors can easily navigate and know as to which page they are currently on. You may solve this by making the title of the page to stand out (like I did on this blog) or, the other way, it is actually recommended to use both if possible, you could style (eg. give a different colour to) the name of the currently visited page in the navigation menu.

To be completely honest, I thought this was only possible using PHP, but it came out styling the active page of your navigation menu can easily be setup in HTML too.

The article that writes this down very clearly is called Pure CSS to display the active page in the navigation. Enjoy! ;)

No comments:

Post a comment

Dear legitimate commenters, please post your comments below. I'd be happy to receive your feedback; helps me a lot improving, or getting reassurance that I'm doing something really great here.

IMPORTANT! A note to commenters planning on advertising their business in comments: please be informed that I'm NOT going to post your comments but will ALWAYS mark them as SPAM.