Jump to content

Search Box Position works fine in Chrome and Firefox but not IE Please help


mboley370

Recommended Posts

The center of the search box wont line up in the middle in IE, but will perfectly in Firefox and Chrome.  Is there a way to define the form height and center it within the cell?

 

 

<form name="search_form" id="search_form" action="index.php" method="get"    padding-left:0px;">  <td width="100" background="../menu buttons/input_bg.png">

<input type="text" border: 0px class="input-text" name="tag" id="tag" value="" style="width: 100px;  background-position: -14px 0px; height:37px; padding-left:0px;">

    </td>

          <td width="63" background="../menu buttons/input_bg.png"><input type="submit" class="input-button" value="Search" style="  width: 60px; height:36px;" /></td></form>

 

 

 

 

CSS

.input-text{color:#111144; font-family:arial,tahoma,verdana; font-size:8pt;  font-weight:bold; background:url(images/search_bg.png) #FFFFFF; border:0px solid #989898;}

 

.input-button{color:#FFFFFF; font-family:arial,tahoma,verdana; font-size:8pt; background:url(images/search_button_bg.png);

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.