css样式模板(CSS style template)
The following /****** is the default settings, you can easily modify ********/
/*****************************************************************
******************************************************************
The following are all styles of universal styles
Margin: 0; padding: 0; sets the outer margin; the margin space is 0
Font-size: 12px; for font size. In the general table, not subject to his control
Li, UL sets list-style: none; mostly cancels the default dot. It's not nice
******************************************************************
*****************************************************************/
Body, form, UL, Li, P, DL, DD, DT, h3{, h, TD, th
Margin: 0;
Padding: 0;
Font-size: 12px;
}
Li, ul{
List-style: none;
}
/******************************************
Color: #333333 in TD; font color for no hyperlink
VERTICAL-ALIGN: top; the contents of the table are at the top
Text-align:left; the contents of the form are left
*******************************************/
{TD
Color: #333333;
VERTICAL-ALIGN: top;
}
/******************************************
Border:1px solid #ccc; the solid border of the form is 1 pixels,
To change the line to solid for dotted, change the color to #ccc
You can customize the background color
Background:#eee;
*******************************************/
Input, textarea{
Border:1px solid #ccc;
}
/******************************************
Overall width of page
******************************************/
.wrap{
Width:950px;
Margin:auto;
}
* / / * banner
#banner_ad{
Margin-top:5px;
}
/******************************************
Font-size: 12px; hyperlink font size
Color: font color
Text-decoration: none; there is no line drawn. To have the next line drawn. Change none to underline
A is a unified hyperlink,
A:link has no clicked hyperlink style
A:visited hyperlink style clicked
Hyperlink style for a:hover mouse pointing
A style that a:active is activated by the user (events that occur between mouse clicks a