网站首页
关于深山
客户案例
业务范围
联系深山
网络投票系统
企业网站建设
旅行社网站建设
小程序
留言板
技术文章
许愿墙(qq爱墙)
技术首页
百度小程序开发
微信小程序开发
微信公众号开发
uni-app
asp函数库
ASP
asp.net
DIV+CSS
HTML
SEO搜索引擎忧化
下载类信息
个人空间
代码生成
电商
python
页面特效
表格特效
导航菜单
图形特效
表单特效
时间日期
色彩类别
链接特效
网页特效
系统硬件
网站公告
网页学习
技术类文章
网站类信息
订阅本栏目 RSS
您所在的位置:
深山工作室
>
DIV+CSS
> 正文
利div+css做的柱状图,代码超级简洁
深山行者个人网站 2009/2/4 20:45:56 深山行者 字体:
大
中
小
浏览 18555
以下为详细代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>利div+css做的柱状图,代码超级简洁深山行者</title> <style> h1,h2,h3,h4,h5,h6,form,div,p,img,ul,li,table,tr,td,dl,dt,dd,body {margin:0;padding:0;} body {width:915px;margin:auto;font:normal 12px/160% Arial,宋体,Tahoma,sans-serif;color:#393939;font-size:9pt;background:#fff;} ul {list-style-type:none;} a:link,a:visited {color:#393939;text-decoration:none;} a:hover {color:#f00;text-decoration:underline;} /*column start*/ .column {margin:50px;background:#fff;width:650px;height:240px;} .columnl {background:#fff;width:40px;height:240px;position:relative;float:left;} .columnl ul {position:absolute;bottom:3px;right:3px;text-align:right;line-height:40px;font-weight:bold;} .columnc {flaot:left;margin-left:40px;background:#fff url(./UploadFiles/200924204856914.gif) left bottom;width:600px;height:220px;border-left:solid 1px #a6a6a6;border-bottom:solid 1px #a6a6a6;position:relative;} .columnc ul {position:absolute;bottom:0px;left:0px;} .columnc li {float:left;width:81px;height:220px;background:url(./UploadFiles/200924205055615.gif) repeat-y right bottom;} .columnc dl {text-align:center;position:absolute;bottom:0px;margin-left:26px;} .columnc dt {font-weight:bold;} .columnc dd {width:24px;} .columnc span {display:block;width:100%;height:100%;} .columnc span {display:block;width:100%;height:100%;background:url(/UploadFiles/demo/ups_columncspanbg.png) repeat-y left !important;} *html .columnc span {filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src="/UploadFiles/demo/ups_columncspanbg.png");background:none;filter:alpha(opacity=50);} .columnb {float:left;background:#fff;width:600px;} .columnb ul {margin:0px;} *html .columnb ul {margin-left:3px;} .columnb li {float:left;border-left:solid 1px #a6a6a6;width:80px;line-height:26px;text-align:center;font-weight:bold;} </style> </head> <body> <!--column start--> <div class="column"> <!--columnl start--> <div class="columnl"> <ul> <li>100%</li> <li>80%</li> <li>60%</li> <li>40%</li> <li>20%</li> <li>0%</li> </ul> </div> <!--columnl end--> <!--columnc start--> <div class="columnc"> <ul> <li> <dl> <dt style="color:#f00;">20%</dt> <dd style="height:40px;background:#f00;"><span></span></dd> </dl> </li> <li> <dl> <dt style="color:green;">40%</dt> <dd style="height:80px;background:green;"><span></span></dd> </dl> </li> <li> <dl> <dt style="color:#c6c6c6;">30%</dt> <dd style="height:60px;background:#c6c6c6;"><span></span></dd> </dl> </li> <li> <dl> <dt style="color:#076599;">50%</dt> <dd style="height:100px;background:#076599;"><span></span></dd> </dl> </li> <li> <dl> <dt style="color:#234345;">80%</dt> <dd style="height:160px;background:#234345;"><span></span></dd> </dl> </li> <li> <dl> <dt style="color:#076599;">100%</dt> <dd style="height:200px;background:#076599;"><span></span></dd> </dl> </li> <li> <dl> <dt style="color:#076599;">60%</dt> <dd style="height:120px;background:#076599;"><span></span></dd> </dl> </li> </ul> </div> <!--columnc end--> <!--columnb start--> <div class="columnb"> <ul> <li>合计</li> <li>连云</li> <li>赣榆</li> <li>新海</li> <li>东海</li> <li>灌云</li> <li>灌南</li> </ul> </div> <!--columnb end--> </div> <!--column end--> </body> </html>
前一页:
24款实用的翻页页码css代码
后一页:
利用DIV+CSS制作浮动广告,没有用到多少javascript,全是css
相关阅读
css里expression实现界面对象的批量控制
深山旅游网站管理系统V1.0
诸城阳光旅行社
网页中自动换行问题
QQ强聊
内蒙古香格里拉旅行社有限公司
网页设计中文本输入框的参数说明
利用fso判断文件是否存在
更多信息>>
栏目类别选择
百度小程序开发
微信小程序开发
微信公众号开发
uni-app
asp函数库
ASP
DIV+CSS
HTML
python
更多>>
同类信息
jquery设置或获取修改classname
利用css3.0写出一个音乐播放的唱片碟盘的效果
利用css中的scale()实现放大缩小效果
利用background-color:#000000a8在背景颜色16进制代码之后加字母加上数字让背景色透明
css背景使用base64编码或者将base64编码放在img图片标签中
利用css3中的-webkit-font-smoothing把网页文字的毛边去掉
更多>>
最新添加文章
2026 aliyun阿里域名云注册续费优惠口令
dw里面查找替换使用正则删除sqlserver里面的CONSTRAINT
Android移动端自动化测试:使用UIAutomatorViewer与Selenium定位元素
抖音直播音挂载小雪花 懂车帝小程序
javascript获取浏览器指纹可以用来做投票
火狐Mozilla Firefox出现:无法载入您的Firefox配置文件 它可能已经丢失 或是无法访问 问题解决集合处理办法
在Android、iOS、Windows、MacOS中微信小程序的文件存放路径
python通过代码修改pip下载源让下载库飞起
更多>>
随机抽取信息
非常酷的javascript实现万年历功能
解决国内 github.com 打不开的准确方法
另外的一种单项的选择
深山留言板2.14情人节留言板模板v4.6
asp正则替换内容里的特定内容
一个更加高级的CSS菜单,绝对实用,超强的
更多标签
热门标签
CSS规范
FireFox
radio
工具
select
rad
固定
深山
半透明
下载
十字
height
时间
浮动
textarea
翻页
首页
计划
查询
input
DropShadow
图片
彩色
asp
读取
模式
防止
上 下 左 右
ie5.5
旅行社
lightbox
忧化
项目
断线
pt
案例
文件夹
VBScript
文化
营销
轮流
显示
背景色
阴影效果
Application
渐变
rss
汉字
clear
比例
免责声明:本站所有资料信息,有部分为本人原创,部分为从网络收集而来,仅供网友查看阅读所用,所有信息版权归信息所有人或所有公司所有
如果信息内容侵犯到您的版权或权益请与我们联系,经确认后我们会立即移除相关内容或链接
Copyright © 2007-2026
深山工作室
All Rights Reserved
服务QQ:
565449214
手机:
13961347334
ICP备案:
苏ICP备15019627号
苏公网安备 32070502010230号