* css hack no longer working in ie8?
Posted
by Haroldo
on Stack Overflow
See other posts from Stack Overflow
or by Haroldo
Published on 2010-03-25T10:59:45Z
Indexed on
2010/03/25
11:13 UTC
Read the original article
Hit count: 501
Ok so i want to make my border css only applicable to ie8 or earlier (as in not ie9 when it comes out).
purpose: so that in ie, the missing dropshadow will be replaced with a border:
the * hack doesnt seem to be working? im testing in ie8 locally...
input, textarea{
display:block;
border:none;
*border: 1px solid #000;
-moz-box-shadow: 0px 0px 1px 1px #999;
-webkit-box-shadow: 0px 0px 1px 1px #999;
box-shadow: 0px 0px 1px 1px #999;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
margin: 1px 0px 10px 0px;
font-size:12px;
color:#494949;
}
© Stack Overflow or respective owner