|
| |
|
|
BeTheBall
Posts: 6381 Joined: 6/21/2002 From: West Point Utah USA Status: offline
|
Help with the Cascading part of CSS - 5/30/2006 11:18:57
I am looking to style some links that appear within a div with an id of "hMenu". Is there a way to add the style for the links to my stylesheet without adding any additional markup to the links themselves?
_____________________________
Duane Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
|
|
|
|
Tailslide
Posts: 6296 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: Help with the Cascading part of CSS - 5/30/2006 11:25:03
Sure - just do this: #hMenu a:link {whatever styles}
#hMenu a:visited { whatever styles}
#hMenu a:focus, hMenu a:hover, hMenu a:active {whatever styles}
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
BeTheBall
Posts: 6381 Joined: 6/21/2002 From: West Point Utah USA Status: offline
|
RE: Help with the Cascading part of CSS - 5/30/2006 11:29:22
Thanks Helena. I was just looking at another stylesheet I am using and saw something similar. Sooner or later it will sink in.
_____________________________
Duane Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|