头部导航位置调整。

This commit is contained in:
Li Heng 2014-06-14 03:25:49 +00:00
parent 1f3ae1b0c9
commit 0d945c622a
1 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
<!-- header -->
<link href="/sjyportal/css/style.css" rel="stylesheet" type="text/css" />
<link href="../../../../htdocs/sjyportal/css/style.css" rel="stylesheet" type="text/css" />
<header>
@ -9,8 +9,8 @@
<div class="span3">
<img src="/sjyportal/img/logo.png" />
</div>
<div class="span9 inline">
<p class="pull-right" style="color:#000000; font-size:9px;">
<div class="span9">
<p class="pull-right" style="font-size:9px; position:relative; top:-8px;">
<?php
$auth = Zend_Auth::getInstance();
if($auth->hasIdentity())
@ -28,14 +28,14 @@
} ?>
</p>
<p >
<p class="pull-right" >
<form action="/search" method="get">
<ul class="navigat nav nav-pills pull-right" id="mainmenu">
<li style="padding-right:15px"><a href="/">首 页</a></li>
<li style="padding-right:15px"><a href="/archives/">新 闻</a></li>
<li style="padding-right:15px"><a href="/data">数 据</a></li>
<li style="padding-right:15px"><a href="/about">关于我们</a></li>
<li style="padding-right:15px" class="input-append ">
<li <?php if($current_url=='/') echo " class='active'";?> ><a href="/">首 页</a></li>
<li style="padding-left:15px"><a href="/archives/">新 闻</a></li>
<li style="padding-left:15px"><a href="/data">数 据</a></li>
<li style="padding-left:15px"><a href="/about">关于我们</a></li>
<li style="padding-left:15px" class="input-append ">
<input class="input-medium" placeholder="关键字" type="text" name="q">
<button class="btn" type="submit">搜索</button>
</li>