首 页
网络学院
视频教程
资源下载
HOT
实例教程
图文教程
专题中心
学习社区
繁體中文
当前位置:
首页
>
图文教程
>
网页制作
>
CSS样式表
> css设置z-index 失效的解决方法
CSS样式表
论WEB标准在中国的灰飞烟灭
CSS 清除浮动元素方法 整理
css FF与IE兼容性总结
div css 鼠标悬停在div层上时,div背景色改变
IE6不支持CSS中的min-width/height属性问题的解决方法
CSS 自动定位 的应用
CSS 样式命名规则
IE7下生成高质量CSS缩略图
编写CSS代码时样式的命名规则
用css来实现透视效果
word-wrap
div+css排版的样例
HTML结构化:实践DIV+CSS网页布局入门指南
CSS锦囊
DIV_圆边圆角的实现
凹陷文字 推荐
自定义容器和字体大小
IE最新的欺骗代码
ASP+CSS 实现列表隔行换色
无边框表格
No.
«
‹
22
23
24
25
›
»
技术文章搜索
关键字
CSS样式表 中的 css设置z-index 失效的解决方法
出处:
互联网
整理:
软晨网(RuanChen.com)
发布:
2010-01-10
浏览: 100 ::
收藏到网摘: n/a
CSS 浏览器专用
Div+Css实现屏蔽效果
<!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 runat="server"> <title>Untitled Page</title> <style type="text/css"> #king_of_diamonds { position: relative; background-color:gray; width:30px; height:30px; left: 145px; top: 145px; } #ace_of_diamonds { position:relative; background-color:blue; width:300px; height:300px; left: 160px; top: 130px; z-index: 1; } </style> </head> <body> <form id="form1" runat="server"> <div id="king_of_diamonds"> a </div> <div id="ace_of_diamonds"> b </div> </form> </body> </html>
提示:您可以先修改部分代码再运行
CSS 浏览器专用
Div+Css实现屏蔽效果
评论 (0)
All
登陆
还没注册?