Div + css is used as a whole website. If it is purely div layout, it is troublesome, especially when div is nested in your div and div layout, you still need to discard some page effects, such as the rounded corner of the image. If the set div is troublesome, it may be deformed in a div in the VS2005 designer. If there are too many sets of div, it is troublesome for you to implement ajax dragging, so I think it is better to use div + nested table.
Rounded corner-you can use div + css to make a beautiful rounded corner without any image. It is adaptive to width and height.
How to implement it? Dig out the css template of Google Talk
Forget the div and table!
The biggest feature of html is its compatibility and adaptability.
After using the complex div + css, you may find that the beautiful pages in IE look like a paste in other browsers. It is not advisable to create a website and serve only specific browsers. If you see a webpage with the words "please use XXX to browse", a single word is "bad "!
The html browser will automatically typeset the page content, which is difficult for common applications. If a large number of blank pages are wasted on the high-resolution display, and the long and long scroll bars are used, the fixed font size is used, all of them are the "half-way monk" transferred from the development of applications ".
Do not imitate the so-called "XX excellent website design". If it is not the organizer's intention to promote a certain technology, the author's artistic skills are too good. A good website can only be enriched, concise, organized, and easy to read first, and then decorated with icing on the cake.
Div/css has been completely transformed. It is still quite troublesome at the beginning. You can check the style document without moving it. Now you can basically write it manually.
It is recommended to use the VS2005 layout. For example, after a page is laid out in the standard style of VS2005, it is a quick way to extract the styles one by one into a separate css file.
The difference between SPAN and DIV is that division is a block-level element that can contain paragraphs, titles, tables, and even chapters, summaries, and remarks. While SPAN is an element in the row, it does not wrap the line before and after the SPAN. It has no structural meaning and is purely an application style. When other elements in the row are not appropriate, you can use SPAN.
The following example shows the difference between the two attributes.
Code:
The SPAN tag has an important and practical feature, that is, it does nothing. Its only purpose is to focus on other elements in your HTML code, in this way, you can specify styles for them. In this example, the identifier allows you to divide a paragraph into different parts.
Another identifier has similar functions,
DIV is also used to create a logical part in an HTML file. However
Different SPAN,
It works at the text block level. It Introduces Line separation before and after the HTML elements it contains.
Effect:
The SPAN tag has an important and practical feature, that is, it does nothing. Its only purpose is to focus on other elements in your HTML code, in this way, you can specify styles for them. In this example, the identifier allows you to divide a paragraph into different parts.
Another identifier has similar functions,
DIV is also used to create a logical part in an HTML file. However
Different SPAN,
Work at the text block level. It Introduces Line separation before and after the HTML elements it contains.
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