Forum Moderators: not2easy
<html>
<head>
<title>IE8 Disabled Multiple Select Bug</title>
</head>
<body>
<form action="#" method="get">
<select size="10" name="lstBox" multiple="multiple" disabled="disabled"
id="lstBox">
<option selected="selected" value="S1">Selected</option>
<option value="NS1">Not selected</option>
<option selected="selected" value="S2">Selected</option>
<option value="NS2">Not selected</option>
<option selected="selected" value="S3">Selected</option>
<option selected="selected" value="S4">Selected</option>
</select>
<br>
<input name="optEnabled" checked="checked" type="radio"
value="disabled"
onclick="document.getElementById('lstBox').disabled=true;"
> Disabled
<br>
<input name="optEnabled" type="radio" value="enabled"
onclick="document.getElementById('lstBox').disabled=false;"
> Enabled
</form>
</body>
</html>
select[disabled="disabled"] {background-color:#D4D0C8;}But:
select[disabled="disabled"] option[selected="selected"] {background-color:navy;}
(More or less specific depending on what else is on the page)
[size=2]<meta http-equiv="X-UA-Compatible" content="IE=8">[/size]