星空网 > 软件开发 > 网页设计

用CSS设计类似条状统计表效果

<html>
<head>
<title>用CSS设计类似条状统计表效果</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>主流浏览器用户数(%) - July 2009</dt>
<dd ><b>IE6 = 21% </b></dd>
<dd ><b>IE7 = 52% </b></dd>
<dd ><b>Opera = 3.2% </b></dd>
<dd ><b>Firefox = 16.7% </b></dd>
<dd ><b>Mozilla = 6.3% </b></dd>
<dd ><b>NN7 = 1.2% </b></dd>
</dl>
<div>http://www.999jiujiu.com/</div>
</body>
</html>




原标题:用CSS设计类似条状统计表效果

关键词:CSS

CSS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

国家外管局通报多起外汇违规案例,虚假提单是关键!:https://www.ikjzd.com/articles/94308
想多了!亚马逊中国没有离开!:https://www.ikjzd.com/articles/94309
你要知道的!关于JOOM的平台促销活动参加条件:https://www.ikjzd.com/articles/9431
美国对华为的禁令延迟90天实施!:https://www.ikjzd.com/articles/94310
危险化学品VS危险货物,出货前一定要弄清楚!:https://www.ikjzd.com/articles/94311
怎样让客户N次回购?速卖通运营这样做!:https://www.ikjzd.com/articles/94314
在古巴做游轮 古巴旅游项目:https://www.vstour.cn/a/363194.html
西藏旅游攻略自驾游需要多少天 去西藏旅游自驾游要多久时间:https://www.vstour.cn/a/363195.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流