- margin:水平相加,垂直塌陷(float可以解决)
- absolute 相对祖先,fixed相对浏览器(IE6 不支持)
- line-height:1.5倍font-size,但是要注意内部的继承
- font:12px/18px(line-height) Arial 简写法;
- 相对于italic,oblique才是真正的倾斜(window不支持)
- text-indent:2em 中文段首缩进
- 垂直对齐:
- 单行:height=line-height=em ,over-flow: hidden ;
- 多行: padding-bottom=padding-top 容器非固定高度
- 水平居中:margin:0 auto
- 垂直居中:line-height:14em 留0.2em空白(height:竖直方向靠上对齐)
- 表格样式:double>solid>dashed>dotted>ridge>outset>groove>inset
- white-space:nowrap 禁止内部折行
- IE6滤镜支持32位和24位(无透明)png同时确定宽度和高度
- IE67不支持border-spacing
a链接IE:无自动伸展,只根据文字大小调整;IE6想做block-hover=>height:1em,只有a有hover;
0 评论:
发表评论