Commonly used DIV CSS basic framework structure, but it is not recommended to put them all in a div_Experience exchange

WBOY
Release: 2016-05-16 12:07:28
Original
1503 people have browsed it

The basic framework structure of DIV CSS is commonly used, but it is not recommended to put it in a div
css style code:
Program code

Copy code The code is as follows:

/*---Global style---*/
* { margin:0px; padding:0px;}
body {font- family: Verdana, Arial, Helvetica, sans-serif;font-size: 12px;background:#fff;}

/*---Main style---*/
#container {} .clearfloat {clear:both;height:0;font-size: 1px;line-height: 0px;}

/*---Top style---*/
#header { }

/*---Middle style---*/
#mainContent {}
#sidebar {}
#content{}

/*-- Bottom style ---*/
#footer {}

html code
Copy code The code is as follows:








Main content






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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!