In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
Compatible with IE6 web page minimum maximum width and minimum maximum height css writing is what, many novices are not very clear about this, in order to help you solve this problem, the following small series will explain in detail for everyone, there are people who need this can learn, I hope you can gain something.
Minimum width:
The code is as follows:
.min_width{ min-width:300px; /*sets max-width for IE */ _width:_expression(document.body.clientWidth
< 300 ? "300px" : "auto");} 最大宽度 代码如下: .max_width{ max-width:600px; /*sets max-width for IE */ _width:_expression(document.body.clientWidth >600 ? "600px" : "auto");}
minimum height
The code is as follows:
.min_height{ min-height:200px; /* sets min-height for IE */ _height:_expression(this.scrollHeight
< 200 ? "200px" : "auto");} 最大高度 代码如下: .max_height{ max-height:400px; /* sets max-height for IE */ _height:_expression(this.scrollHeight >400 ? "400px" : "auto");}
Maximum Minimum Length
The code is as follows:
.min_and_max_width{ min-width:300px; max-width:600px; /* sets min-width & max-width for IE */ _width: _expression(document.body.clientWidth
< 300 ? "300px" :( document.body.clientWidth >600 ? "600px" : "auto"));}
maximum minimum height
The code is as follows:
.min_and_max_height{ min-height:200px; max-height:400px; /* sets min-height & max-height for IE */ _height: _expression(this.scrollHeight
< 200 ? "200px" :( this.scrollHeight >400 ? "400px" : "auto");} Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.