link hover questions

Questions and tutorials related to Cascading Style Sheets *all versions*

Moderators: macek, egami, gesf

humpy
New php-forum User
New php-forum User
Posts: 14
Joined: Sat May 29, 2004 2:33 pm

link hover questions

Postby humpy » Sat Aug 07, 2004 1:22 pm

okay on my site i have a navigation menu. now withthat menu when you hover over the links they change to caps, and this is want i want. i have this coded in a css file. now my question is how can i keep the navigation hover changing to caps but have all the other links on the page not change to caps?

this mite be a little confusing so here is my site so u can understand better. http://ps2manuals.com/main_site.php

User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Postby Redcircle » Sun Aug 08, 2004 11:22 am

put a containing div or span around you navigation menu and set an id to it

<span id="nav"></span>

in you css you can tell just the <a> elements within the nav to have the caps hover.

#nav a:hover {
}

hope that helps

humpy
New php-forum User
New php-forum User
Posts: 14
Joined: Sat May 29, 2004 2:33 pm

Postby humpy » Sun Aug 08, 2004 12:15 pm

hey it worked man thanx alot

User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Postby Redcircle » Sun Aug 08, 2004 2:42 pm

no problem


Return to “CSS”

Who is online

Users browsing this forum: No registered users and 1 guest