[Gadgets] CSS embedded style Automatic Extraction, css embedded style Extraction
A small tool that extracts inline styles and replaces them with automatic numbers.
Note: style = "" (this must be a standard double quotation mark !)
Http://files.cnblogs.com/quejuwen/CssAuto.rar
How to change the external css style sheet to an embedded Style
It tells you how to connect to the most basic information? :
<Head>
<Style type = "text/css">
A {
Background-color: # e60012;
Text-decoration: underline ;}
</Style>
</Head>
<Body>
<Ul>
<Li> <a href = "#"> how to change the external css style sheet to an embedded style </a> </li>
</Ul>
</Body>
</Html>
The embedded style HTML selector of my external CSS cannot be used to link to the relative page.
You need to connect external CSS files.
1. Create a xxx. CSS file and put it in.
H1 {
Color: # ff0000;
Font-size: 36px;
Text-align: right;
Font-family: "正"
}
. P {font-family: "";
Font-size: 30px;
Color: #006600;
Text-align: center
}
# Name1 {
Font: 文 cloud;
Font-size: 24px;
Text-align: right;
Background-color: # CCFF00;
Color: # 0000ff
}
2. Add this sentence to the <Link rel = "stylesheet" type = "text/css" href = "../xxx.css"/> note that the path here must be correct. You can select the path for operations in DW.