Home  >  Article  >  Web Front-end  >  让所有浏览器包括IE6即支持最大宽度又支持最小宽度。_html/css_WEB-ITnose

让所有浏览器包括IE6即支持最大宽度又支持最小宽度。_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:35:10935browse

让所有浏览器包括IE6即支持最大宽度又支持最小宽度。

_height  _width:针对ie6 css hack

.yangshi{max-width:620px;min-width:1px;_width:expression(this.scrollWidth > 620 ? "620px" : (this.scrollWidth 

让所有浏览器包括IE6即支持最大高度又支持最小高度。

.yangshi{max-Height:620px;min-height:40px;_height:expression(this.scrollHeight > 620 ? "620px" : (this.scrollHeight 

Statement:
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