1. Different explanations of the box interpreter. The code is as follows:Copy code # Box {Width: 600px; // for ie6.0-Width: 500px; // for ff + ie6.0}# Box {Width: 600px! Important // for ffWidth: 600px; // for ff + ie6.0Width/**/: 500px; // for
When we define a background style, we often write this as follows: The code is as follows:Copy code Body {Background: url (img/header_top.gif) left top no-repeat;} For example, we want to define a background color and add a color to the
Do not use positionIn this case, each layer follows the HTML positioning rules. The left, right, top, and bottom positioning information is invalid, and the z-index will not work because there is no cascade.2. Use absoluteIf the z-index attribute of
1. Verify if you have any questions.Verify the code before debugging. Incorrect XHTML/CSS format may cause many errors.First, write and test CSS code in your most commonly used browser, and try to improve the code as much as possible. Then try to be
I was planning to write an article on the topic of this article, but I recently read this article in The Sina blog group, so I don't have to worry about it. I will repost it here to help you.Li {list-style-image: url (images/disc.gif );}This style
I have read an article about the explanation of the IE version, and I can understand it. I 'd like to write it down. it is hard for me to understand that "CC" is short for "Conditional Comment? Please let me know. Thank you.The explain statement is
There are many advantages to using the XHTML + CSS architecture, but there are also some problems. Whether it is because I am not skilled or have unclear ideas, I will first write down some of my problems below, you can find it in other provinces.1.
There are many ways to solve div column height self-adaptation. Here we will introduce the two most common methods for you (the following examples use parent main, sub-divleft, divright as an example ).1. Fill in the background with "clear: both"
The cellpadding and cellpadding of the table are often used to clear the default style as follows: Many friends may say that the performance is in the structure and does not conform to the standards. Some may be confused about how to take out the
We have seen various input buttons defined by CSS, but the select statement cannot be implemented simply by defining input. The following provides another css definition method to dazzle your select.CSS section: The code is as follows:Copy code .
Tip: you can modify some code before running Example:Happy Wolf smart rounded cornerHappy Wolf smart rounded corners:Class = "[4, 'Blue ',' # ffff']":In sequence: [rounded corner radius, color style, background (not necessary)]Class = "[1,
Tip: you can modify some code before running Multiple introductions: overflow: hidden; can realize automatic text hiding, but I can't get it all, it's all about automatic text wrapping.This is a test text. not recommended ~ · How long is the text ?~
Tip: you can modify some code before running Several pretty buttons implemented with CSSNice buttonNice button Nice buttonNice buttonNice buttonNice button Tip: you can modify some code before running
Tip: you can modify some code before running Shadow Link text produced by CSS Website homepage Website homepage Website homepage Website homepage Website homepage Tip: you can modify some code before running
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.