PDA

View Full Version : Search Engine at top of page not linking


Anonymous
05-18-2005, 03:21 PM
I have redesigned our website in Dreamweaver. I put a small search form at the top of the webpage. Why does it add space under the search form? I want the search bar to be just above the line without the added space under it. Also, when you enter information in to search it doesn't go to the search page. It give an error message of page not found. This is driving me nuts.

See our site www.sceoc.org

Anonymous
05-18-2005, 04:50 PM
well, the reason your search box doesnt go to the right page is because you have:

<div align="right>
<input type="text" name="zoom_query" size="20">

Notice there is no closing speech mark on the div attribute. Try:

<div align="right">
<input type="text" name="zoom_query" size="20">

Ok, so that should get the search working.

Form tags often leave a small amount of space underneath.

Try moving the form tags outside of the table cell to work around it:

<form method="GET" action="../search.php>
<td height="26" colspan="7">
<div align="right>
<input type="text" name="zoom_query" size="20">
<input name="submit" type="submit" value="Search">
<font color="#003366" size="1" face="Arial, Helvetica, sans-serif">EOC
Reports/Publications</font></div>
</td></form>

Ray
05-19-2005, 01:17 AM
Seems like it's working now, so I guess the above changes fixed it? (thanks for the post, anonymous :))