* The following text is used to collect articles on some websites or forums. It does not represent my opinion and is for reference only.========================================================== ==================================In fact, not div is
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
1, Div Two column row two-column Div layout How to implement, div two column side-by-row two-column div layout tutorial Solution
Two div boxes are implemented side-by, one line shows only two column div layouts, and the width width +float floats for
Css
Deliberately online search for a bit, about Div, saying a lot.
Think of div as a layout element this view I want to be the most, like "use div instead of table layout", "Actual combat css+div layout" and so on, too much, there are many people to
1. Default internal and external margin problems: Different browser default internal and external margin to resolve: *{margin:0;padding:0; 2. Horizontally centered problem: Set Text-align:center ie6-7 text centered, nested block elements also
div and table differences in all aspects of performance are obvious, such as speed and load mode differences, in the Web application of the difference, and so on, many, the following detailed finishing a bit, like friends can refer to, hope can help
Div and Span differencesRelative to other XHTML tags, div and span are meaningless for the elements they contain. For example when you see the tag, you know that the inside is the title, and when you see the tag you know that the inside is a new
Div CSS layout is often encountered in the article title list before the number (1-10) layout, how to easily implement such a news article title List layout? If you see a list layout, there are 1 2 3 4 5 6 7 numeric order.Similar with ordered
CSS Compatibility common skills
Please try to write code in strict XHTML format, must add DOCTYPE declaration, because DOCTYPE affect the CSS processing, affect the standard of the consortium.
Vertical center of text in 1.div
Determine the direction from which the mouse moves the div ------- Day74, div ------- day74
I found a very interesting effect and felt very beautiful and gorgeous. I would like to introduce the general effect as follows:
When you move the cursor
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.