Full spell cascading Style sheete HTML Web page
1 divided into
Inline style sheet
and HTML federated display
Inline style sheet
Embedded in a separate area, it must be in the head
External style sheet
Need to build a CSS file, save and attach
2 Selector
Class chooses to "." Start with
The ID is selected with a "#"
Composite Selector
Separated by "," to make it work the same
P,span
{background-color: #F00; font-size:18px}
Separated by a space, indicating that the secondary label can be used within the former
Div p{
Text-decoration:underline;}
With "." A filter that allows it to find and release instructions
3 Borders and Borders
Border is a border, can set its color width; border:10px solid #000000; 10 pixel wide border color
Margin is the margin is the boundary, the input auto to reach the center; margin-top:210px; 210 pixels wide
1119CSS style Sheet