Thread: Rollover Effect
View Single Post
Old 01-05-2005, 07:28 PM   #12 (permalink)
seonewbee
Inactive
 
seonewbee's Avatar
 
Join Date: 05-12-04
Posts: 520
iTrader: 0 / 0%
Latest Blog:
None

seonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really nice
Has anybody tried targeting?

div.menu a. {
....
}

div.menu a.hover{
....
}
This way you do not have to put a class on every link. You could replace "div" with "td"

What the above means is that a div with the class of menu that contains an anchor / link will look the way you specified. Anchors in other parts of the document will not look this way.

You might want to put your menu in a list
<ul>
<li><a .....>text</a>
<li><a ....>text2</a>
....
</ul>

Have fun

Last edited by seonewbee : 01-05-2005 at 07:57 PM.
seonewbee is offline   Reply With Quote