Home > Web Front-end > CSS Tutorial > css hack how to distinguish ie7 ie8

css hack how to distinguish ie7 ie8

高洛峰
Release: 2016-11-24 11:46:54
Original
1392 people have browsed it

.style {      width:100px;  /*火狐以及一般浏览器*/
      width:200px\9;                 /*IE8*/ 
      *width:150px;  /*IE7*/
      _width:50px;  /*IE6*/
      height:100px;
      border:1px solid red;
}
Copy after login


Related labels:
css
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template