<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>食日谈</title>
</head>
<style type="text/css">
*{padding: 0px;margin: 0px;}
/
.header{height: 73px;background: #fff;position: fixed;top:0;left:0;background: #fff;width: 100%;z-index: 999;}
.pw{width: 1140px;margin: 0 auto;}
.logo{float: left;padding: 12px 20px 0;margin: 10px;} .nav ul li{float: left;font-size: 16px;margin: 0 23px;list-style: none;padding-top:35px; }
.nav ul li a{ color: #85847f;font-weight: 700;}
.nav ul li ul{position: absolute;display: none;}
.nav ul li ul li{float: none;}
.er li{line-height: 0px;}
.nav ul li:hover ul{display: block;} a{margin:0;padding:0;font-size:100%;background:transparent;text-decoration: none;}
.login a{color: #666;line-height: 95px;margin: 0 0 0 20px;font-size: 12px;}
.searchbtn {background: url(http://www.10ritan.com/images/header02.png) 50% no-repeat;padding: 50px; float: right;cursor: pointer;margin: -99px 40px 0px 0px;} </style>
<body>
<div class="content">
<!--头部文件-->
<div class="header">
<div class="pw">
<div class="nav">
<div class="logo"><img src="http://www.10ritan.com//images/logo.png"></div>
<ul class="ul">
<li><a href="index.html">首页</a></li>
<li class="xl"><a href="shitai.html">食 • 态</a>
<ul class="er">
<li><a href="shitai.html?1_1">将来食</a></li>
<li><a href="shitai.html?1_1">将来食</a></li>
<li><a href="shitai.html?1_1">将来食</a></li> </ul>
</li>
<li><a href="index.html">食•谱</a></li>
<li><a href="index.html">食•聊</a></li>
<li><a href="index.html">食•熟</a></li>
<li><a href="index.html">食•熟</a></li>
<li><a href="index.html">食•熟</a></li>
</ul>
<div class="login"><span><a href="">登录</a></span><span><a href="">注册</a></span></div>
<div class="searchbtn"></div>
</div>
</div>
</div>
</div>
</body>
</html>

  

htmlnav的更多相关文章

随机推荐

  1. tableview在第一次显示时会自动relodata

    tableview在第一次显示时会自动加载数据

  2. 在Swift中整数以及浮点的格式化

    1 整数的格式化 有的时候我们需要将整数输出为类似01,02,001,002这样的格式. 那么在swift中我们可以这样写 let i= let str = String(format:"% ...

  3. 创建Java类并实例化的基本过程

    package com.sanguosha.java; /* * 面向对象实现的过程 * 1.创建类并设计类的成员(成员变量即属性and成员方法即方法) * 2.通过类来创建类的对象,也称类的实例化 ...

  4. 从一个例子讲解拷贝构造函数与return

    #include "iostream" using namespace std; class Location { public: Location(, ) { X = xx; Y ...

  5. CSS_03_03_ul图片替换

    ul图片替换 第01步:编写css样式:url.css @charset "utf-8"; /*ul用图片替换*/ ul.u_01{/*图片*/ list-style:circle ...

  6. linux挂接U盘

    挂接U盘fdisk -lDisk /dev/sdd: 131 MB, 131072000 bytes/dev/sdd1 * 1 889 127983+ b Win95 FAT32#mkdir -p / ...

  7. (转)Aspone.Cells设置Cell数据格式 Setting Display Formats of Numbers and Dates

    Setting Display Formats Using Microsoft Excel: Right-click on any desired cell and select Format Cel ...

  8. opscenter dashboard排错

    系统环境 opscenter 5.2 centOS 6.6 cassandra 2.0.x 问题 opscenter上的dashboard监控cassandra集群一段时间(大约1天)后总会停止显示. ...

  9. git 命令--上传代码

    创建密钥命令: ssh-keygen -C 'your@email.address' -t rsa 找到生成的密钥文件id_rsa.pub 地址:C:\Documents and Settings\A ...

  10. 夺命雷公狗ThinkPHP项目之----企业网站24之网站前台获取当前栏目和顶级栏目

    我们现在要实现的是取出网站当前栏目名称和顶级分类名称,如下所示: 列表页的和单页的不能总是写死的吧?? 我能就要想办法去让他变活的才可以解决问题噢,我们已经有了他的cate_id ,然后我们就可以通过 ...