4. Create Dreamweaver (style sheet CSS) and dreamweavercss
Style sheet style
It can be written in the body or in the head.
1, HeadEx.(Style sheet selector)
<Head>
<Style type = "text/css">
Body (Simple setting)
{
Background-color: # CC0;
Background-image: url (.../%E5%BE% AE %E4%BF%A1%E4%BA%8C%E7%BB%B4%E7%A0%81.jpg );
Background-repeat: no-repeat;
}
Table
{
Background-image: url (.../../360%E6%88%AA%E5%9B%BE20141116110142765.jpg );
Background-repeat: repeat;
}
.Custom name (used in other labels, for example, <body class ="Custom name ">)
{
Background-image: url (.../%E5%BE% AE %E4%BF%A1%E4%BA%8C%E7%BB%B4%E7%A0%81.jpg );
Background-repeat: no-repeat;
Background-size: contain
}
Table.Custom name (only in tableLabel, tableAnd ".There is a space between the custom names)
{
Color: #3F0;
}
.Custom name font(Automatically search forThe user-defined name "has a fontThe part of the tag and the style assigned to it)
{
Font: "文 ";
}
# Textfield(In #Add ID, You canStyleSet separately)
{
Border: dotted
}
</Style>
</Head>
2BodyStatement in:
<Body class ="Custom name ">
<Table class ="Custom name ">
<Tr class ="Custom name ">
<Td>
<Font>
<Input type = "text" name = "textfield" id = "textfield"/>
</Font>
</Td>
</Tr>
</Table>
</Body>
Import cssMethod:
1. In the html file: <link rel = "stylesheet" href1_xxx.css ">
2. then append other css: @ import url(“xxx.css "),
Selector priority:
ID> class> label
Link style:
A: The status before the link hyperlink is clicked
A: status after clicking the visited hyperlink
A: When hover is hovering over a hyperlink
A: When a hyperlink is clicked on the active node
When defining these States, there is an order of l v h
Css Filter