Board index   FAQ   Search  
Register  Login
Board index php forum :: HTML CSS

link hover questions

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

Moderators: macek, egami, gesf

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
humpy
New php-forum User
New php-forum User
 
Posts: 14
Joined: Sat May 29, 2004 2:33 pm

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
User avatar
Redcircle
Moderator
Moderator
 
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

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

hey it worked man thanx alot
humpy
New php-forum User
New php-forum User
 
Posts: 14
Joined: Sat May 29, 2004 2:33 pm

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

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


Return to CSS

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron