Help with the Cascading part of CSS (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets and Accessibility



Message


BeTheBall -> 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?




Tailslide -> 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}




BeTheBall -> 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.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.03125