泡客首页
|
CMS下载
|
CRM下载
|
泡客部落
|
首页
挨踢资讯
编程技巧
SEO优化
实用代码
聚焦话题
工作手记
系统安全
本站程序
留言
泡客部落
程序讨论
意见建议
疯狂灌水
社区互动论坛
TXT小说下载
素材酷站推荐
站长工具箱
推荐阅读
·6种lightbox效果源代码下载
·转Jshell写的一篇对Pcook CMS的分析文章
·IIS安装注意事项 最安全的安装方法
·ORIENTED红黑色系web2.0模板
·检测上传的图片文件(jpeg,gif,bmp,png)是否真
·本站使用的数据库备份代码
·减轻JavaScript测试和调试负担
·简单的滚动公告代码 兼容IE、Firefox
·CSS中的滑动门技术 导航栏背景跟随鼠标滑动
·长标题文章用CSS控制省略号方式显示
站内搜索
随机文档
·IE与Firefox的CSS兼容大全
·XHTML+CSS制作的网站导航菜单
·用CSS实现的一张图完成的导航条
·简洁的纯css管理菜单代码
·6种lightbox效果源代码下载
·CSS hack:区分IE6,IE7,firefox
·用ASP编写的确认对话框
·Marquee替代 -- 无间滚动[IE6-7, FF, O
·javascript判断浏览器的一段代码
·系统搜索功能不能使用 (xp系统)
您现在的位置:
首页
>>
实用代码
>> 信息正文
XHTML+CSS制作的网站导航菜单
2008-9-4 22:16:58 来源: 网络 作者:Admin 访问:
478
次 被顶:
13
次 字号:【
大
中
小
】
HTML代码
<STYLE type=text/css> body{ background-color:white; font-size:12px; font-family:Arial, Helvetica, sans-serif; margin:0px; padding:0px; color:white; } ul,li{ margin:0px; padding:0px; } li{ display:inline; list-style:none; list-style-position:outside; text-align:center; font-weight:bold; float:left; } a:link{ color:#336601; text-decoration:none; float:left; width:100px; padding:3px 5px 0px 5px; } a:visited{ color:#336601; text-decoration:none; float:left; padding:3px 5px 0px 5px; width:100px; } a:hover{ color:white; float:left; padding:3px 3px 0px 20px; width:88px; text-decoration:none; background-color:#539D26; } a:active{ color:white; float:left; padding:3px 3px 0px 20px; width:88px; text-decoration:none; background-color:#539D26; } #nav{ width:600px; height:30px; border-bottom:0px; padding:0px 5px; position:absolute; z-index:1; left: 198px; top: 25px; } .list{ line-height:20px; text-align:left; padding:4px; font-weight:normal; } .menu1{ width:120px; height:auto; margin:6px 4px 0px 0px; border:1px solid #9CDD75; background-color:#F1FBEC; color:#336601; padding:6px 0px 0px 0px; cursor:hand; overflow-y:hidden; filter:Alpha(opacity=70); -moz-opacity:0.7; } .menu2{ width:120px; height:25px; margin:6px 4px 0px 0px; background-color:#F5F5F5; color:#999999; border:1px solid #EEE8DD; padding:6px 0px 0px 0px; overflow-y:hidden; cursor:hand; } </STYLE> <DIV id=nav> <UL> <LI class=menu2 onmouseover="this.className='menu1'" onmouseout="this.className='menu2'">站酷首页 <DIV class=list><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的Png</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的Gif</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的酷站</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的日志</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的相册</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的收藏</A><BR></DIV></LI> <LI class=menu2 onmouseover="this.className='menu1'" onmouseout="this.className='menu2'">社区圈子 <DIV class=list><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的CHINAY</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的首页</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的日志</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的相册</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的收藏</A><BR></DIV></LI> <LI class=menu2 onmouseover="this.className='menu1'" onmouseout="this.className='menu2'">我的短信 <DIV class=list><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的CHINAY</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的相册</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的收藏</A><BR></DIV></LI> <LI class=menu2 onmouseover="this.className='menu1'" onmouseout="this.className='menu2'">账户管理 <DIV class=list><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的CHINAY</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的首页</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的日志</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的相册</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的收藏</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的日志</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的相册</A><BR><A href="http://pcook.com.cn/Edit/editor.htm?id=content&ReadCookie=0#">我的收藏</A><BR></DIV></LI></UL></DIV>
提示:您可以先修改部分代码再运行
顶一下
打印本文
加入收藏
返回顶部
关闭窗口
Tags:
上一篇:
模拟静态网页分页的特效代码
下一篇:
aspjpeg2.0组件下载(适用32位/64位系统)
相关文章列表
·
乱葬青春
·
凌乱的思绪
·
忆守震
·
目标
·
秋风忽至的晚上
·
再见,2008年12月10日
参与评论
请文明参与讨论,禁止漫骂攻击。
用户名:
(Ctrl+Enter 快速发表)
网友评论列表
关于我们
|
联系我们
|
广告服务
|
友情链接
|
网站地图
|
版权声明
|
人才招聘
|
帮助
© CopyRight 2008
Pcook.com.cn
, Inc.All Rights Reserved.
Powered by:
laoy8
Design by:
Pcook
沪ICP备08004247号