修复CSS布局问题

This commit is contained in:
wlx 2010-06-27 03:20:45 +00:00
parent 8ff999e345
commit a8caf32509
2 changed files with 7 additions and 4 deletions

View File

@ -99,14 +99,15 @@ function show(s){
}
</script>
<button onclick="show('keyword');return false;">试验数据的关键词列表</button>
<button onclick="location.href='/water/timeline'">试验数据的时间轴导航</button>
<form id="search" enctype="application/x-www-form-urlencoded" action="/water/search" method="post"><ul>
<li class="element-group">
<input type="text" name="q" id="q" value="输入关键词搜索标题和摘要" onfocus="myfocus(this);" onblur="myblur(this);"></li>
<li class="submit-group">
<input type="submit" name="submit" id="submit" value="搜索"></li>
</ul></form>
<button onclick="show('keyword');return false;">试验数据的关键词列表</button>
<button onclick="location.href='/water/timeline'">试验数据的时间轴导航</button>
<div id='keyword'>
<?php
$keytypezh=array('place'=>'地点关键词','theme'=>'主题关键词','discipline'=>'学科关键词','stratum'=>'地层关键词','temporal'=>'时间关键词');

View File

@ -14,8 +14,10 @@ hr{border: none 0;border-bottom:1px dashed #ccc;height: 1px;}
.t1highlight{background-color: #ccccff;}
.t3highlight{background-color: #ccccff;}
.t2highlight{background-color: #FFCCCC;}
#keyword{display:none;clear:left;}
#keyword fieldset {border:dotted 1px;border-bottom:0;border-left:0;border-right:0;}
#keyword{display:none;}
#keyword fieldset {border:dotted 1px;border-bottom:0;border-left:0;border-right:0;display:block;}
#links{}
#search{float:left;}
#metacontent{clear:left;margin-left:10px;}