Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Chris’ screencast #11 Working Modularly with PHP Re: Chris’ screencast #11 Working Modularly with PHP

#55882
Wkevco
Member
"apostrophe" wrote:
"Wkevco" wrote:
"apostrophe" wrote:
Here you go. Just add this to your CSS:

Thanks! I will learn a lot from that.

Sarcasm? :D
It’s pretty self explanatory. If the body id is ‘home’ then the menu unordered list, list item, anchor link with a class of ‘home’ should have a blue background. If the body id is ‘pizza’ etc.

No sarcasm intended. I actually did learn a lot from that.
I also found and fixed an error you had in there. ;)
(you had a #nav in there. I changed it to #menu)