爱易网
IT新闻
IT新闻
爱易资讯
网站搭建
云虚拟主机教程
云服务器教程
Apache教程
IIS教程
Nginx教程
网站策划
站长文章
推广教程
淘宝客教程
网页设计
HTML教程
XHTML教程
CSS教程
HTML5教程
CSS3教程
JavaSript基础
JQuery教程
Node.js教程
前端技术
Ajax教程
Js特效
Xml教程
平面设计
页面UI设计
photoshop教程
程序开发
AI人工智能
Asp教程
Php教程
Asp.Net教程
Net Core教程
C#教程
Java教程
Jsp教程
开发技术
微信小程序教程
Uniapp开发教程
微信公众号开发
Andriod教程
IOS教程
DOS教程
Python教程
Docker教程
Windows Container教程
数据库
MSSQL教程
MySQL教程
Redis教程
Access教程
Oracle教程
数据库教程
操作系统
Linux教程
Windows教程
MAC教程
Cisco教程
交换机教程
防火墙教程
搜索
爱易网页
JS特效
纯CSS制作的网页下拉菜单
纯CSS制作的网页下拉菜单
日期:2014-05-18 浏览次数:20120 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [ <!ELEMENT a (#PCDATA | table)* > ]> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > <head> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> <title>纯CSS下拉菜单,兼容IE和FF</title> <style type="text/css"> body {color:#fff;} #wrapper {color:#000;} .red {color:#c00;} #info {margin-top:20px;} #info h1 {font-size:3em; text-align:center; font-family: georgia, "times new roman", serif;} #head {height:145px; border:0;} #positioner {clear:both; position:relative; left:1px; z-index:100;} #ads {position:relative; z-index:10;} .menu {display:none;} #noniemenu {position:absolute;} #noniemenu .holder ul {padding:0; margin:0;} #noniemenu .holder ul li {list-style-type: none;} #noniemenu .holder li {} #noniemenu .holder li ul {display: none;} #noniemenu .holder li:hover > ul#a3 {display:block; position:absolute; left:105px; margin-top:-20px; border:1px solid #000;} #noniemenu .holder .bold {font-weight:bold;} #noniemenu .holder { color:#fff; width:104px; height:18px; display:block; overflow:hidden; float:left; border:1px solid #000; margin-right:1px; font-size:10px; } #noniemenu .holder:hover { height:auto; } #noniemenu a.outer, #noniemenu a.outer:visited { color:#fff; width:104px; line-height:18px; display:block; background:#e09222; text-align:center; text-decoration:none; font-family: verdana, arial, sans-serif; } #noniemenu a.outer:hover { background:#697210; overflow:visible; } #noniemenu div.open {display:none;} #noniemenu a.inner, #noniemenu a.inner:visited { display:block; width:104px; height:18px; line-height:18px; border-bottom:1px solid #000; text-decoration:none; color:#000; background:#eee; text-align:center; } #noniemenu a.second {font-weight:bold;} #noniemenu a.inner:hover { background:#add; } </style> <!--[if lte IE 6]> <style type="text/css"> body {margin-top:-8px;} #head {height:147px;} #noniemenu {display:none;} .menu {display:block; position:absolute;} .menu a.outer, .menu a.outer:visited { color:#fff; width:104px; height:18px; display:block; background:#e09222; border:1px solid #000; margin-right:1px; text-align:center; float:left; text-decoration:none; font-family: verdana, arial, sans-serif; font-size:10px; line-height:18px; overflow:hidden; } .menu a.outer:hover { background:#697210; overflow:visible; } .menu a.outer:hover table.first { display:block; background:#eee; border-collapse:collapse; } .menu a.inner, .menu a.inner:visited { display:block; width:102px; height:18px; border-bottom:1px solid #000; text-decoration:none; color:#000; font-family: verdana, arial, sans-serif; font-size:10px; text-align:center; } .menu a.inner:hover { background:#add; } .menu a.outer table.first a.second { height:18px; line-height:18px; overflow:hidden; font-weight:bold; } .menu a.outer table.first a.second:hover { position:relative; overflow:visible; } .menu a.outer table.first a.second:hover table { position:absolute; top:-2px; left:102px; border-collapse:collapse; background:#eee; border:1px solid #000; font-weight:normal } </style> <![endif]--> <!--[if lte IE 6]> <style> #ads {display:none;} #adsie {clear:both; text-align:center; width:750px; margin-top:10px;} </style> <![endif]--> </head> <body> <div id="wrapper"> <div id="head"> <div id="positioner">
上一篇:狡猾的按钮特效
下一篇:一种不错的网页下拉菜单
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
618首日看京东阿里不同策略,鹿死谁手?
网友爆料称微软雇水军宣传主机Xbox One
北京今日实现用支付宝钱包为公交卡充值
腾讯微信昨晚再现大规模故障 多地受到影响
中兴引进黑莓三个核心团队
谷歌安卓全球副总裁为何跳槽中国企业小米?
总部大楼已换微软Logo:回忆诺基亚的兴衰史
传4G牌照国庆节前后发放 TD-LTE制式优先
苹果App Store被大量刷榜:iTunes账号成帮凶
推荐阅读
更多>
Docker Desktop 4.11 发布:支持虚拟桌面、Mac 权限更改和新扩展
眼球识别技术EyeVerify融资600万美元 360参投
在线音乐出现“小米公司”不是没有可能
惠普董事长莱恩辞职 为巨额财务减记埋单
微软小冰复活再战移动端:改与米聊、易信和触宝合作
微信今天大面积崩溃 腾讯:因光缆施工被挖断
特斯拉技术专利开放,要革自己的命?
三星维修新规:Galaxy S4主板进水也收费修
三星已经将Galaxy S5视为失败之作?
中国大陆人口13.7亿 光棍越来越多
苹果iWatch或使用量产液态金属 将取代玻璃
微软史上最大规模裁员,一半诺基亚员工
用友软件股价逆势下跌 再融资方案现曙光
工商总局开查电商“七日退货”
iPhone 6 Plus要召回是谣言
广东移动董事长徐龙受调查 圈内对其褒贬不一
170号码扎堆上市:手机话费私人定制时代到来?
中电信国际漫游费下调85% 世界杯上网28元/天
易信工具性优势突出 丁磊三板斧或先砍在飞信上
《中国三网融合业务运营管理》研讨报告征订函