What is Div + CSS?

Source: Internet
Author: User
What is Div + CSS?
I think many of my friends may not understand it, but I still want to write my own understanding, which may help those who want to learn it, or friends who do not know how to get started.
When designing a webpage, we usually use table to layout the entire page. Now we can use Div + CSS to achieve layout. For example, we can design a page header, subject, and footer. A webpage with the upper, middle, and lower structures can define several divs for implementation, as shown below:
<Div id = "pagebody">
<Div id = "pageheader">
</Div>
<Div id = "pagecontent">
</Div>
<Div id = pagefooter ">
</Div>
</Div>

Such a page layout has been designed. The next step is to design CSS styles, such as the width, header, and footer of a webpage.
CSS design can be separated from pages and stored in separate files. Of course, all webpages can use styles in CSS files.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.