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>