Forum Moderators: not2easy

Message Too Old, No Replies

modifying hover in # definition

         

job314

5:20 pm on Sep 2, 2004 (gmt 0)

10+ Year Member



Hmmmm that title may not be the best, but let's give it a go:

I am modifying my CSS for a site, and the main part of my contentBox is:

div#contentBox {
width: 650;
margin: 8px auto;
text-align: left;
}

I'm wondering if I can modify my "a" attributes specifically within this div definition.

The rest of the page uses, for example, red for the hover state. I'd like any links in this <div> tag to to be, let's say green.

How would I modify the div#contentBox to reflect this?

Thank you everyone for your input,
Job

Old_Honky

10:50 pm on Sep 2, 2004 (gmt 0)

10+ Year Member Top Contributors Of The Month



Add


div#contentBox a:hover{
color:green;
}

After your content box code in your stylesheet.