Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fix for live-search positioning in header.template

apfelmaennchenac3139a1fd08
diff --git a/htroot/env/templates/header.template b/htroot/env/templates/header.template
index ecc11c9c8..7be1de450 100644
--- a/htroot/env/templates/header.template
+++ b/htroot/env/templates/header.template
@@ -12,9 +12,8 @@
});
</script>
<div class="head">
- <h1>
- YaCy - Distributed Search Engine
- <div id="yacylivesearch" style="position:absolute; top:-3px; right:80px; z-index: 100;">
+ <h1>YaCy - Distributed Search Engine</h1>
+ <div id="yacylivesearch" style="float: right; margin-right: 90px; margin-top: -27px;">
<form id="ysearch" method="get" accept-charset="UTF-8" action="http://localhost:8080/yacysearch.html">
<input name="search" id="yquery" class="fancy" type="text" size="20" maxlength="80" value=""/>
<input type="hidden" name="verify" value="true" />
@@ -25,8 +24,7 @@
<input type="hidden" name="former" value="" />
<input type="hidden" name="display" value="2" />
</form>
- </div>
- </h1>
+ </div>
</div>
<ul id="menu">
diff --git a/htroot/yacy/ui/css/yacyui-portalsearch.css b/htroot/yacy/ui/css/yacyui-portalsearch.css
index 9d0607116..fc3f6a214 100644
--- a/htroot/yacy/ui/css/yacyui-portalsearch.css
+++ b/htroot/yacy/ui/css/yacyui-portalsearch.css
@@ -5,6 +5,7 @@
font-size: 14px;
}
#ysearch .fancy {
+ height:18px;
background-image: url(/yacy/ui/img-2/magnify.png);
background-repeat: no-repeat;
background-position: 2px 1px;