mboley370 Posted December 31, 2010 Share Posted December 31, 2010 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); Quote Link to comment https://forums.phpfreaks.com/topic/223086-search-box-position-works-fine-in-chrome-and-firefox-but-not-ie-please-help/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.