PassMark Logo
Home » Forum

Search Engine at top of page not linking

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Anonymous
    Senior Member
    • Dec 2004
    • 617

    #1

    Search Engine at top of page not linking

    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
    Senior Member
    • Dec 2004
    • 617

    #2
    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>

    Comment

    • Ray
      Administrator
      • Dec 2004
      • 4357

      #3
      Seems like it's working now, so I guess the above changes fixed it? (thanks for the post, anonymous )
      --Ray
      Wrensoft Web Software
      Sydney, Australia
      Zoom Search Engine

      Comment

      Working...