<title> css design like bar chart effect </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>
<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>
Use CSS to design a bar-like statistic effect