HTML and CSS Reference
In-Depth Information
functionhideLinkURLs() {
$("a[href]").each (function() {
$(this).text($(this).data("originalText"));
});
}
Styling
disabled
form
elements
in
Internet
Explorer
Internet Explorer up to version 9 has no way to indicate a form field is disabled other
than the color of the text used in that field. Sometimes, a field simply has an icon
rather than text (or it could be an empty input textbox), in which case it is almost im-
possible to discern which buttons are disabled and which are not.
For Internet Explorer 7 and above, by just adding the following rules in main.css ,
you can get the disabled fields to display significantly differently from the enabled
ones:
.lt-ie9 input[type='text'][disabled],
.lt-ie9 textarea[disabled] {
background-color: #EBEBE4;
}
If you have to support Internet Explorer 6, then make sure you add a class called
disabled on the form elements that have the disabled attribute set and alter the
previous rule to the following:
.lt-ie9 input.disabled,
.lt-ie9 textarea.disabled {
background-color: #EBEBE4;
}
Search WWH ::




Custom Search