is called a spacer Marker. Function: set the position of the word, picture, table, etc. When you place a word, image, or other in a div, it can be called a div block, or a DIV element or a css-layer, or simply a layer. And in Chinese we call it the "
In this kind of browser display normal, in another kind of chaos, we are writing CSS will be very annoyed, just fixed the browser problem, the result of another browser but a new problem.
What is browser compatibility: When we use a different
DIV+CSS compatible with browser methods such as IE6 IE7 IE8 IE9 and Firefox Chrome1.DOCTYPE affects CSS processing 2. Ff:div set Margin-left, margin-right for Auto is already centered, IE not 3. Ff:body when setting text-align, Div needs to set
1.IE8 compatibility issues, this best deal, converted into IE7 compatible can be. Add the following piece of code to the head, and then as long as it is compatible under IE7, IE8 below is also compatible2.flaot floating caused IE6 double margin
Some attributes are often used in the div layout process. This article lists some common layout-related attributes. If you need them, you can refer to them and hope to familiarize yourself with common div attributes.
I. attribute list
The Code
Background
Since html4.01, the new version is no longer released, because the HTML language is becoming more and more complex and dedicated. That is, there are more and more tags. Even browser manufacturers have developed HTML tags that are only
Are you learning CSS layouts? Are you still unable to fully master the pure CSS layout? There are usually two situations that hinder your study:
The first possibility is that you have not yet understood the CSS Process page principle. Before you
css| Web page
Are you learning CSS layouts? Are you still unable to fully master the pure CSS layout? There are usually two situations that hinder your study:
The first possibility is that you have not yet understood the CSS Process page principle.
http://blog.csdn.net/mercop/article/details/7882000HTML CSS + div for overall layout1. Technical objectives:
Develop Web pages that meet the standards
Understanding the Box model
Achieve DIV+CSS Overall layout
2, what is the
HTML CSS + div for overall layout1. Technical objectives:
Develop Web pages that meet the standards
Understanding the Box model
Achieve DIV+CSS Overall layout
2, what is the standard?W3c:world Wide web Consortium, www
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.