Thursday, July 9, 2015

IE9 textbox color problem

I have a problem where I'm trying to change the background and text color of a GWT( GWT 2.4) TextBox. 

In Firefox , this works just fine. In IE9, it takes the background color setting of the CSS but not the foreground color. 

So, my code looks like:

input[type=text] {
width: 140px;
font-family: Arial Unicode MS, Arial, sans-serif;
font-size: 11px;
font-weight: bold;
color: #000066;
border: 1px solid #A9BED9;
padding: 2px;
}

input[type=text][disabled], select[disabled], textarea[disabled] {
background: white;
    color: black ! important;
}

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment