On 29/05/2009, at 1:24 AM, Nancy Johnson wrote:

> I am styling some buttons for an internal application that uses IE6  
> only.

I'm so sorry for your pain. As they said, IE6 only supports hover on  
<a>. The advice about whatever:hover is good. Another option would be  
to add/remove a class name (e.g. 'hover') on mouseover/mouseout using  
javascript. You can make a static mockup with a button that has the  
class applied so that you can style it, then work out how to apply the  
javascript. This is outside of list scope I'm afraid.

>
>
> #send
> {
> display:inline-block;


IE 6 doesn't support display: inline-block. You can achieve the same  
effect by triggering 'hasLayout' and by setting display to 'inline'.  
So for an IE 6 only app I believe it would be:

#send {
        display: inline;
        zoom: 1;
        width: 25px;
        height:  25px;
        background: url("images/arrow_right.gif") no-repeat 0 0;
}

Cheers, Tim


______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to