首 页
网络学院
视频教程
资源下载
HOT
实例教程
图文教程
专题中心
学习社区
繁體中文
当前位置:
首页
>
图文教程
>
网页制作
>
CSS样式表
> css设置z-index 失效的解决方法
CSS样式表
用CSS实现鼠标单击特效
引入CSS样式的五种方式
用CSS实现文字变图象特效
expression将JS、Css结合起来
alt属性和title属性
CSS使用技巧20则
CSS重新定义项目符号和编号技巧
CSS编辑工具Topstyle轻松打造网页风格
深入探讨CSS中字体元素
CSS经典实用技巧18招
FCKeditor 实战技巧
China.com网站开发规范
小三角的做法与使用
网站首页head区代码规范
动态更改网页HTML元素(对象)内容
css静态滤镜 + A:Hover
解读absolute与relative
怎样管理好样式
2006.12.06更新 TopStyle剪辑库
又一个典型css实例
No.
«
‹
82
83
84
85
›
»
技术文章搜索
关键字
CSS样式表 中的 css设置z-index 失效的解决方法
出处:
互联网
整理:
软晨网(RuanChen.com)
发布:
2010-01-10
浏览: 86 ::
收藏到网摘: 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
登陆
还没注册?