Home  >  Article  >  Web Front-end  >  IE6 implements min-width_HTML/Xhtml_web page production

IE6 implements min-width_HTML/Xhtml_web page production

WBOY
WBOYOriginal
2016-05-16 16:45:341278browse

First of all, we know that this effect should be an old topic.
When I was sorting out the files today, I found that some of my previous layout solutions had been lying in the folder for a long time. Let’s look through the old ones.
It should be noted that I was lucky enough to meet the old engineer webmaster of CSSPLAY. The realization of this effect must have been given very early.
Enough chatter, here’s the source code:
Trigger and take advantage of the weird features of IE6-layout, css implementation:
.ie6-out{
_margin-left:900px;
_zoom:1;
}
.ie6-in{
_position:relative;
_float:left;
_margin-left:-900px;
}
#min-width{
min-width:900px;
background:#ccc;
line-height:200px;
_zoom:1;
}
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