Home > Web Front-end > HTML Tutorial > 常见的css问题_html/css_WEB-ITnose

常见的css问题_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:33:22
Original
1078 people have browsed it

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%;

}

 

Related labels:
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