IE8 CSS different from IE7 & Firefox

Posted by thegunner on Stack Overflow See other posts from Stack Overflow or by thegunner
Published on 2010-12-29T21:43:13Z Indexed on 2010/12/29 21:54 UTC
Read the original article Hit count: 166

Filed under:
|
|
|

Hi,

I'm applying a css style to a select dropdown and input textboxes.

The style appears to work in IE7 and Firefox but not in IE8.

The css is:

input.text, input.file, textarea.textarea, select.select 
{
    font-family:"lucida grande",tahoma,verdana,arial,sans-serif;
    color:#333;
    margin:0;
    padding:4px;
}

input.text, textarea.textarea, select.select{
    border-top:1px solid #7c7c7c;
    border-left:1px solid #c3c3c3;
    border-right:1px solid #c3c3c3;
    border-bottom:1px solid #ddd;
}

The style appears to apply fine to textboxed but not selects/

Any ideas about why this is happening in IE8?

© Stack Overflow or respective owner

Related posts about html

Related posts about css