Also put the a.button:hover after the other a classes in the css.

Austin


----- "francky" <[EMAIL PROTECTED]> wrote:
> Kenoli Oleari schreef:
> > I have a hover style for links that are attached to text.  I also  
> > have some links that utilize images and want no hover effect in
> these  
> > cases.  The class I give to the links with images is ".button".
> >
> > The following code does not work to stop the hover effect.  How do I
>  
> > do this?
> >
> > a:hover.button { background-color: none; }
> >
> > a:active { color: #339933; }
> >
> > a:visited { color: #006633; }
> >
> > a:hover {
> >     color: #003366;
> >     background-color: #00CCCC
> >     }
> >
> > Thanks,
> >
> > --Kenoli
> >
> >   
> Hi Kenoli,
> Did you try:
> 
>     a.button:hover { background-color: none; }
> 
> or a simple (without a class for the img):
> 
>     a:hover img { background-color: none; }
> 
> ?
> See also: SelectOracle
> <http://gallery.theopalgroup.com/selectoracle/>
> 
> Success and greetings,
> francky
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to