What is Div + CSS?

Source: Internet
Author: User
I wrote about Div + CSS layout for webpages in the previous section. ArticleAt that time, it may be too simple to write. Some friends yelled at me.
Today, I will discuss in detail about Div + CSS and how to use Div + CSS to layout pages:
When using Dreamweaver to design webpages, we often use visual windows to visually Design tables or other webpage elements, the style of the webpage element is defined. We often use the Dreamweaver CSS style to define webpage elements.
You can search for the reasons for using Div + CSS instead of table + CSS. The obvious advantage of using Div + CSS is ease of maintenance and convenient reuse, in the future, you only need to modify the CSS file to modify the website style, and the client access speed will be improved, but there will also be negative issues. For example, if the CSS file is damaged, the whole site page will be messy.
Now let's get down to the point. You can open my recently written article: vs2005 + access to develop website management system logs.
The series of articles uses Div + CSS for layout.
By defining some nested Div on the page, you can take the unique ID or class of all the DIV that requires CSS definition, and then define the style in the CSS file, of course, you must introduce this CSS file to the page.
The source code for the specific page Div definition and CSS definition has been provided in the above-mentioned article. You can refer to it and we will not repeat it here! I hope my friends read this time. Don't say it's too complicated.
If you have any comments, please advise and hope you can communicate with us!
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.