各种一级导航条

news/2024/10/18 13:17:05/
<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><title>导航条</title><style type="text/css">/*全局属性*/*{ margin: 0; padding: 0; font-size: 14px; font-weight: bold; }/* 纵向导航条 */#div1 a{ display: block; height: 30px;line-height: 30px;width: 75px; text-align: center; background-color: #ccc; margin-bottom: 1px; text-decoration: none;  }#div1 a:hover{ color: white; background-color: #E5721D; }/*横向菜单*/#div2 li{ display: block; float: left; }#div2 a{ display: block; height: 30px;line-height: 30px;width: 75px; text-align: center; background-color: #ccc; margin-right: 1px; text-decoration: none;  }#div2 a:hover{ color: white; background-color: #E5721D; margin-right: 1px;  }/*圆角菜单*/#div3 ul{ border-bottom: 5px solid  #E5721D; height: 50px; }#div3 li{ display: block; float: left; top: 20px; margin-top: 25px; }#div3 a{ display: block; height: 25px;line-height: 25px;width: 75px; text-align: center; background-color: #ccc; margin-right: 1px; text-decoration: none; border-radius: 9px 9px 0 0; }#div3 a:hover{ color: white; background-color: #E5721D; margin-right: 1px;  }/*伸缩菜单*/#div4 ul{ border-bottom: 5px solid  #E5721D; height: 50px; }#div4 li{ display: block; float: left; top: 20px; margin-top: 25px; }#div4 a{ display: block; height: 25px;line-height: 25px;width: 75px; text-align: center; background-color: #ccc; margin-right: 1px; text-decoration: none;  }#div4 a:hover{ color: white; background-color: #E5721D; margin-right: 1px; margin-top: -10px; height: 40px;  line-height: 40px;}div { padding-left: 20px; }div ul{ list-style: none; }</style>
</head>
<body><!-- 纵向菜单 --><div id="div1"><ul><li><a href="#">首&nbsp;&nbsp;页</a></li><li><a href="#">产品介绍</a></li><li><a href="#">产品特色</a></li><li><a href="#">联系我们</a></li></ul>   </div><br /><br /><hr /><br /><!-- 横向菜单 --><div id="div2"><ul><li><a href="#">首&nbsp;&nbsp;页</a></li><li><a href="#">产品介绍</a></li><li><a href="#">产品特色</a></li><li><a href="#">联系我们</a></li></ul>   </div><br /><br /><br /><hr /><br /><div id="div3"><ul><li><a href="#">首&nbsp;&nbsp;页</a></li><li><a href="#">产品介绍</a></li><li><a href="#">产品特色</a></li><li><a href="#">联系我们</a></li></ul>   </div><br /><br /><hr /><br />
<!-- 垂直伸缩菜单 --><div id="div4"><ul><li><a href="#">首&nbsp;&nbsp;页</a></li><li><a href="#">产品介绍</a></li><li><a href="#">产品特色</a></li><li><a href="#">联系我们</a></li></ul>   </div><br /><br /><hr /><br />
<!-- 水平伸缩菜单 -->
<div id="div5"><ul><li><a href="#">首&nbsp;&nbsp;页</a></li><li><a href="#">产品介绍</a></li><li><a href="#">产品特色</a></li><li><a href="#">联系我们</a></li></ul>   </div></body>
</html>

http://www.ppmy.cn/news/355352.html

相关文章

网址导航

Adobe Flash Catalyst CS5.5 http://www.adobe.com/cfusion/tdrc/index.cfm?product=flash_catalyst&loc=zh_cn(真个网址已经不容易找到了,正如官网所说Development and sales ended on April 23, 2012)开发和销售在12年的4月23日已经终止balsamiq 一款界面设计工具 (…

【导航】自己的导航网站

小呆导航 - 可自定义的简洁网址导航 源码&#xff1a;GitHub - xiaodai945/WEBJIKE: 小呆导航 - 可自定义的简洁网址导航 牧师导航 - 个人导航页首选 简约导航 开源地址&#xff1a;跳转中... 【改进】导航网站改进 1、默认搜索可以设置&#xff08;百度、谷歌、搜搜……&a…

百度地图web版导航

一.首先引入所申请的ak密钥 <script type"text/javascript" src"http://wx.58haha.cn/baidu/jquery-1.8.3.min.js"></script> <script type"text/javascript" src"http://api.map.baidu.com/api?akPlhFWpA02aoURjAOpnWcRGq…

导航栏颜色

//设置BarTintColor &#xff0d;&#xff0d; bar 背景色 // [self.navigationController.navigationBar setBarTintColor:barColor]; //修改tintcolor &#xff0d;&#xff0d; 字体&#xff0c;图片 的颜色 [self.navigationController.navigationBar setTintColor:barCol…

html5 导航栏颜色怎么修改

HTML5导航栏颜色的修改可以通过CSS来实现。可以在HTML文件中的head部分添加一个style标签&#xff0c;然后使用CSS选择器选中导航栏的元素&#xff0c;修改其背景颜色。 例如&#xff0c;下面的代码将导航栏的背景颜色改为红色: <style>nav {background-color: red;} <…

网站导航

实用大全首 页管理中心上网导航音乐搜索 添加网址 | 设为首页 | 收藏本站 百度 Google 一搜 爱问 [ 我的最爱 ] 我要地图网 中国地图出版社 图行天下 神州龙地图网 中国知网 爱书吧 [ 常去站点 ] 我的主页 淇滨在线 商都宽频 网易网盘 中国同学录 中国…

五彩导航栏

做一个简单的五彩导航栏&#xff1a; 效果图&#xff1a; 功能&#xff1a; 鼠标放上面可以变换另外一种颜色&#xff0c;可以点击跳转到链接&#xff1b; 思路&#xff1a; 1.五个a 标签实现&#xff0c;把a标签转换为行内块模式 2.使用a:hover 伪类选择器 3.对盒子进行…

广西省百色市谷歌卫星地图下载

一、概述 百色&#xff08;壮文&#xff1a;Bwzswz&#xff09;是广西壮族自治区下辖地级市&#xff0c;位于广西壮族自治区西部&#xff0c;右江上游&#xff0c;介于东经10428-10754&#xff0c;北纬2251&#xff0d;2507之间&#xff0c;西与云南相接&#xff0c;北与贵州毗…