[Gadgets] CSS embedded style Automatic Extraction, css embedded style Extraction

Source: Internet
Author: User

[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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.