常见的css问题

1.IE6浮动会产生双倍边距,使用display:inline;

2.css中那些属性会继承于父元素?    color,font-size.

3.css模块化的作用,结构良好,扩展性强,重用性好,可维护性高

4.如何居中一个浮动的div?

div{

width:300px;height:200px;

position:relative;

margin:-100px 0 0 -150px;

top:50%;left:50%;

}

 

posted on 2015-11-18 19:10  装逼被人打  阅读(109)  评论(0)    收藏  举报

导航