Jump to content

I Have A Question About Style Sheets


camdaddy09
 Share

Recommended Posts

If your header and footer sections are contained within an element with an ID, then this will work:

#header a { color: blue; }#header a:hover { color: red; }#footer a { color: black; }#footer a:hover { color: blue; }

Link to comment
Share on other sites

If your header and footer sections are contained within an element with an ID, then this will work:
#header a { color: blue; }#header a:hover { color: red; }#footer a { color: black; }#footer a:hover { color: blue; }

It worked perfectly, thanks. i knew that i had to somehow differentiate between the two but i didnt know exactly how.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...