Let IE6 support min-width minimum width_Experience exchange

WBOY
Release: 2016-05-16 12:06:21
Original
1854 people have browsed it

However, ie6, which has the highest browser usage rate, does not support it, although ie7, which came out later, has begun to support this attribute. However, from the perspective of user experience, multi-browser support is also very important, not to mention that currently IE6 still has the highest share.
Especially when using fluid layout, the attributes min-width, min-height, max-width, and max-height will be used. The following is a very convenient way to display min-width and max-height in IE6. The methods of min-height, max-width, and max-height with the same effect are shared with you here.
Enough chatter, here’s the source code:
Trigger and utilize the weird features of IE6-layout, css implementation:

Copy code The code is as follows:




ie6-under, the container implements the simulated min-width effect. Please resize the browser window as desired and click the button "View Width".




css implementation demonstration:

[Ctrl A Select all Note:If you need to introduce external Js, you need to refresh it to execute]

Extended demo:

[Ctrl A Select all Note:If you need to introduce external Js, you need to refresh it before it can be executed]

CSS Expression
Related labels:
ie6
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