View Full Version : Resolved Define more elements which to apply CSS

04-09-2009, 04:41 PM

I have some elements which has the same behaviour on hover. However, I'm not sure on how to define them properly when I have more ID's applied to one CSS attribute. This is what I tried but it doesn't work:

a#home #gallery #forums #contact:hover {background-position:0px -75px;}

04-09-2009, 04:49 PM
a#home:hover, a#gallery:hover, a#contact:hover{
background-position:0px -75px;

04-09-2009, 04:50 PM
That nailed it, and ofc I see the logic now! Thanks :)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum