...

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



CaptainB
04-09-2009, 05:41 PM
Hi,

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

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

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum