The Nineth Chapter text Example Two

Source: Internet
Author: User

<HTML><Head><title>CSS Control title</title><style><!--H1{font-family:Arial,sans-serif;font-size:28px;Color:#336699;Padding-bottom:4px;            /*Bottom Filler*/Border-bottom:1px solid #999999;    /*line width style color*/}H1{font-family:Arial,sans-serif;font-size:28px;Color:#ffffff;padding:4px;                /*Around Filler*/Background-color:#669966;}H1{font-family:Arial,sans-serif;font-size:28px;Color:#666;padding:4px;        /*Around Filler*/Background-color:#ddd;Border-bottom:3px Solid #aaa;   /*Bottom Border*/}H1{font-family:Arial,sans-serif;font-size:28px;Color:#369;Background-color:#000000;Background-image:URL (01.jpg) repeat-x Bottom;   /*Bottom Background Horizontal repeat background picture set at bottom of text*/Padding-bottom:10px;    /*add additional bottom filler*/}H1{font-family:Arial,sans-serif;font-size:28px;Color:#369;Padding-left:32px;        /*Move left*/background:URL (icon.gif) no-repeat 0 50%;   /*set the icon to the left of the text*/}/*img can be used to achieve a number of changes in CSS, such as a large number of small icons throughout the site title*/Body{Background-color:#000000;}H1{font-family:Arial,sans-serif;font-size:28px;Color:#369;}H1 img{background:#f22;vertical-align:Middle;} -</style></Head><Body><H1><imgsrc= "Bg.gif"Border= "0">Super Title CSS</H1>  </Body></HTML>

There are two reasons for this encoding: One reason is that there are various icons, depending on the subject of the title. Another reason: The site may change the color scheme of the entire site based on the current time, and to have these icons transform colors along with other elements on the page, you do not need to create new icons each time. Create some transparent GIF images. As the example above, through the transparent part of the icon, using the Background property in CSS to set its stolen color, you can achieve style changes.

The Nineth Chapter text Example Two

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.