Beginners + CSS DIV attention to the points that matter
Related Tags:CSS DIV div css div css Guide div css layout div class div location div borders div position div positioning div height div align div layer not-for-div trip div span div background div layout div rolling div select div effects div around div width div ul div flash div nbsp div manuals div usage div site div parameters div interface div nested div top div width div border div style div onmouseover div visibility the body div div skills div framework div css tutorial css map download div
1, usually Padding the default value is 0, the background-color default value is transparent. However, in different browsers default value may be different. If fear of a conflict, in the style sheet can be a first definition of the beginning of all the elements of Margin and padding value to 0, like so:
* (
Margin: 0;
Padding: 0;
)
2, a label can be a number of class definition. For example: We have two first definition of the pattern, a pattern Background # 666; second form 10 px borders.
. One (width: 200px; background: # 666;)
. Two (border: 10px solid # F00;)
In the page code, we can call this
<div Class="one two"> </ div>
3, in order to save bytes, I propose not to quote the background picture path, because quotes are not necessary. For example:
Background: url ( "images /***. gif") # 333;
Can be written as
Background: url (gif images /***.) # 333;
If you add quotes, but will lead to some wrong browser
////////////////////////////////
After the supplementary
- DIV CSS a tree menu
- On css layout div +
- Reconstruction with Div + CSS website
- Css + div information collection
- Div + css Series
- Div + css layout examples
- Css + interface standard div
- CSS: ? ? ? ?div ? ?
- CSS + DIV simple example
- On div css layout
- Div + css layout entry
- DIV + CSS ranks control
- What is DIV + CSS
- + CSS classic div
- A DIV CSS navigation of the results
- Div + css ? ? ?
- + CSS DIV named norms
- CSS + DIV benefits
- The advantages and disadvantages of CSS + DIV
- CSS layout + DIV Guide




