Use CSS to design bar-like statistical tables and css to design bar statistical tables

Source: Internet
Author: User

Use CSS to design bar-like statistical tables and css to design bar statistical tables

<Html>
<Head>
<Title> Use CSS to design a bar-like statistical table </title>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"/>
<Style>
Dl {
Margin: 0;
Padding: 0 0 15px 0;
Width: 401px;
Height: auto;
Background: # fff url(bar.gif) bottom left no-repeat;
}


Dt {
Text-align: center;
Font-size: 12px;
Border-bottom: 3px solid # fff;
}


Dd {
Margin: 0;
Display: block;
Width: 400px;
Height: 2em;
Background: #0a0;
Border-bottom: 1px solid # fff;
Font-size: 12px;
}


Dd B {
Float: right;
Display: block;
Margin-left: auto;
Background: # cec;
Height: 2em;
Line-height: 2em;
Text-align: right;
Font-size: 12px;
}
Dd. p670 B {width: 33% ;}
Dd. p67 B {width: 93.3% ;}
Dd. p12 B {width: 98.8% ;}
Dd. p197 B {width: 80.3% ;}
Dd. p26 B {width: 97.3% ;}
Dd. p08 B {width: 99.2% ;}
</Style>
</Head>
<Body>
<Dl>
<Dt> Number of mainstream browser users (%)-July 2009 </dt>
<Dd class = "p670"> <B> IE6 = 21% </B> </dd>
<Dd class = "p67"> <B> IE7 = 52% </B> </dd>
<Dd class = "p12"> <B> Opera = 3.2% </B> </dd>
<Dd class = "p197"> <B> Firefox = 16.7% </B> </dd>
<Dd class = "p26"> <B> Mozilla = 6.3% </B> </dd>
<Dd class = "p08"> <B> nn7= 1.2% </B> </dd>
</Dl>
<Div> http://www.999jiujiu.com/</div>
</Body>
</Html>

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.