PDA

View Full Version : multiple a:link style



neilkw
04-03-2006, 06:52 PM
I'm looking to add a second css a:link/hover/visited style to a div section on a website footer so that they have a different style from the main site.

How would go about this?
thanks

mwinter
04-03-2006, 07:49 PM
I'm looking to add a second css a:link/hover/visited style to a div section on a website footer so that they have a different style from the main site.Use a descendent selector:



#footer a:link {
/* ... */
}
/* etc. */


<div id="footer">
<!-- ... -->
</div>
Mike

neilkw
04-03-2006, 08:17 PM
just the job. cheers