本月博客排行
-
第1名
kaizi1992 -
第2名
arpenker -
第3名
wy_19921005 - hanbaohong
- jh108020
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
青否云后端云 - vipbooks
- wy_19921005
- benladeng5225
- fantaxy025025
- e_e
- kaizi1992
- tanling8334
- arpenker
- sam123456gz
- javashop
- zysnba
- xiangjie88
- lemonhandsome
- wallimn
- ganxueyun
- Xeden
- zhanjia
- xyuma
- wangchen.ily
- jh108020
- johnsmith9th
- zxq_2017
- jbosscn
- forestqqqq
- daizj
- ajinn
- xpenxpen
- ranbuijj
- 喧嚣求静
- kingwell.leng
- silverend
- kristy_yy
- lchb139128
- jveqi
- lich0079
- lzyfn123
- java-007
- sunj
- yeluowuhen
- lerf
- xiaoxinye
- flashsing123
- zhangjijun
- lxguy
- bosschen
- lyndon.lin
- sunnylocus
最新文章列表
div之min-height和max-height
-
max-height
The value of the max-height property overrides height.
min-height
The value of the min-height property overrides both max-height and height.
Default value: 0
Inherited: no
Ver ...
css之min-width属性
CSS min-width 属性
---------------------设置元素的最小宽度
---------------------该属性值会对元素的宽度设置一个最小限制。因此,元素可以比指定值宽,但不能比其窄。不允许指定负值。
默认值:
none
继承性:
no
版本:
CSS2
JavaScript 语法:
IE6中max-width解决方案
.ie6-max-width-fix {
padding: 0;
_width: expression((function(el){ el.style.width = (el.clientWidth > 600 ? '600px':''); })(this));
}
一般都建议不要在 expression 里面判断和设置同一个元素的同一个属性(这样会导致脚本不停执行), ...