Phenomenal CSS Tip
Being the CSS junkie that I am, I’m always on the lookout for great CSS tips. Well I’ve found an excellent one. Instead of creating a fancy javascript to generate a common navigation bar that shows the user their current location in the site, how about a simple id and class selector. Genius!
You can use the same navigation (X)HTML-code on every page. “Most websites highlight the navigation item of the user’s location in the website. But it can be a pain as you’ll need to tweak the HTML code behind the navigation for each and every page. So can we have the best of both worlds?” [Ten More CSS Tricks you may not know]