网站首页
关于深山
客户案例
业务范围
联系深山
网络投票系统
企业网站建设
旅行社网站建设
小程序
留言板
技术文章
许愿墙(qq爱墙)
技术首页
百度小程序开发
微信小程序开发
微信公众号开发
uni-app
asp函数库
ASP
asp.net
DIV+CSS
HTML
SEO搜索引擎忧化
下载类信息
个人空间
代码生成
电商
python
页面特效
表格特效
导航菜单
图形特效
表单特效
时间日期
色彩类别
链接特效
网页特效
系统硬件
网站公告
网页学习
技术类文章
网站类信息
订阅本栏目 RSS
您所在的位置:
深山工作室
>
DIV+CSS
> 正文
利div+css做的柱状图,代码超级简洁
深山行者个人网站 2009/2/4 20:45:56 深山行者 字体:
大
中
小
浏览 18525
以下为详细代码
<!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
相关阅读
深山行者留言系统V3.1
Appium元素定位方式之android_uiautomator定位
利用CSS设置网页滚动条颜色
绝对让你长见识:200个骗人的创业项目!
深山行者留言系统V2.2 (简称留言板V2.2)
Appium获取手机分辨率 & 自适应设备下滑刷新
CSS常用网站布局实例
利用css设置div漂浮在底部或顶部
更多信息>>
栏目类别选择
百度小程序开发
微信小程序开发
微信公众号开发
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.3
python加Appium判断滑动是否到达屏幕底部
双击文字后实现编辑文本功能
asp Microsoft.XMLHTTP生成静态页延迟解决方案
iframe里阻止_blank弹出新窗口的方法
cookies
更多标签
热门标签
关闭
instr
压缩
跳转
采集
DIV+CSS做的透明菜单兼容IE、FF等
letter-spacing
透明
innerText
天气预报
滑轮
虚拟
浮动对象
time
mssql
全选
混合
Session
货币
PSD
预览
美化
缩小
脚本
许愿墙
FlashFxp
容器
爱国
统计
火狐
shift
舒服
百度
拼音
换行
格式化
模板
expression
IE8
qq right
应用
电影
工作室
规则
日历
类别
Alpha
管理系统
XMLHTTP
RegExp
免责声明:本站所有资料信息,有部分为本人原创,部分为从网络收集而来,仅供网友查看阅读所用,所有信息版权归信息所有人或所有公司所有
如果信息内容侵犯到您的版权或权益请与我们联系,经确认后我们会立即移除相关内容或链接
Copyright © 2007-2026
深山工作室
All Rights Reserved
服务QQ:
565449214
手机:
13961347334
ICP备案:
苏ICP备15019627号
苏公网安备 32070502010230号