网站首页
关于深山
客户案例
业务范围
联系深山
网络投票系统
企业网站建设
旅行社网站建设
小程序
留言板
技术文章
许愿墙(qq爱墙)
技术首页
百度小程序开发
微信小程序开发
微信公众号开发
uni-app
asp函数库
ASP
asp.net
DIV+CSS
HTML
SEO搜索引擎忧化
下载类信息
个人空间
代码生成
电商
python
页面特效
表格特效
导航菜单
图形特效
表单特效
时间日期
色彩类别
链接特效
网页特效
系统硬件
网站公告
网页学习
技术类文章
网站类信息
订阅本栏目 RSS
您所在的位置:
深山工作室
>
DIV+CSS
> 正文
利div+css做的柱状图,代码超级简洁
深山行者个人网站 2009/2/4 20:45:56 深山行者 字体:
大
中
小
浏览 20650
以下为详细代码
<!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
相关阅读
留言板留言板V7.2
uni-app实现tab选项卡
利用position把div放在flash上
asp利文本文档加FSO统计网站访问量的方法
深山留言板5.0新版
ASP留言板IP或IP段限制与限制留言次数
asp用cDec将二进制转十进制然后再用cBit将十进制转二进制
IE6下用CSS使PNG半透明背景图片效果
更多信息>>
栏目类别选择
百度小程序开发
微信小程序开发
微信公众号开发
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把网页文字的毛边去掉
更多>>
最新添加文章
dw里面查找替换使用正则删除sqlserver里面的CONSTRAINT
Android移动端自动化测试:使用UIAutomatorViewer与Selenium定位元素
抖音直播音挂载小雪花 懂车帝小程序
javascript获取浏览器指纹可以用来做投票
火狐Mozilla Firefox出现:无法载入您的Firefox配置文件 它可能已经丢失 或是无法访问 问题解决集合处理办法
在Android、iOS、Windows、MacOS中微信小程序的文件存放路径
python通过代码修改pip下载源让下载库飞起
python里面requests.post返回的res.text还有其它的吗
更多>>
随机抽取信息
贵豪旅行社
深山留言板V2.1 Build 090620
一个不错的分页效果
uni.openLocation打开地图导航没反应解决方式(参数都设置对就是打不开)
javascript时间显示01
asp遍历站点所有文件夹的代码
更多标签
热门标签
设置
文件
blog
搜索引擎
表达式
代码 css
数据
代码
断线
javascri
adobe
读取
confirm
框 移
position
ie
hover
163
客户端
input
站长
保护眼睛的电脑色
状态栏
案例
JS效果
expression
比例
JavaScript实现文本框提示效果
阴影效果
保留
文化
移动
预览
access
缓存
tab
media
梦幻
class
对联
图片上传
正则
ico
结果
txt
采集
弹窗
important
行号
常用
免责声明:本站所有资料信息,有部分为本人原创,部分为从网络收集而来,仅供网友查看阅读所用,所有信息版权归信息所有人或所有公司所有
如果信息内容侵犯到您的版权或权益请与我们联系,经确认后我们会立即移除相关内容或链接
Copyright © 2007-2026
深山工作室
All Rights Reserved
服务QQ:
565449214
手机:
13961347334
ICP备案:
苏ICP备15019627号
苏公网安备 32070502010230号