首 页
网络学院
视频教程
资源下载
HOT
实例教程
图文教程
专题中心
学习社区
繁體中文
当前位置:
首页
>
图文教程
>
网页制作
>
CSS样式表
> css设置z-index 失效的解决方法
CSS样式表
CSS 关于网页图片的属性
CODEPAGE 列表与asp应用例子
html 的 ContentType 小结
不要使用CSS Expression的原因分析
css ie6 ie7 ff的CSS hack使用技巧
div+CSS网页布局的意义与副作用原因小结
iframe自适应高度的多种方法方法小结
css display:none使用注意事项小结
html工作中表格<tbody>标签的使用技巧
input为disabled提交后得不到该值的解决方法
Css Reset(复位)方法整理
css首字放大实例代码
让IE ff Opera同时支持Alpha透明的方法
WEB标准网页布局中尽量不要使用的HTML标签
css网页布局中注意的几个问题小结
指定网页的doctype解决CSS Hacking方法总结
左侧固定宽度,右侧自适应宽度的CSS布局
DIV+CSS经常用到的属性、参数及说明
校内网css代码添加背景图片常用代码
css 通配符用法总结
No.
«
‹
49
50
51
52
›
»
技术文章搜索
关键字
CSS样式表 中的 css设置z-index 失效的解决方法
出处:
互联网
整理:
软晨网(RuanChen.com)
发布:
2010-01-10
浏览: 139 ::
收藏到网摘: 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
登陆
还没注册?