Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can I align the Search and search gif


ozstar

Recommended Posts

HI,

 

I cannot seem to get the Search input box and Gif button to align straight with the text on the bar.

 

See here.

 

http://www.sydneytoner.com.au/catalog

 

Any ideas to do this please?

 

I have added the code below but even though I have changed the align and valign code, there is no difference except in the standard Search box at left.

header.php

<!-- start of search at top code --also changed cellpadding to 0 above --!>
<script type="text/javascript" language="JavaScript1.2">
<!--
function clearThis(it){
it.value = "";
}
//-->
</script>
<td class="headerNavigation" align="right" valign="middle"><form name="quick_find" method="get" action="/catalog/advanced_search_result.php">
<input type="text"
name="keywords" size="10" maxlength="50" style="width: 110px" value="Search..." onFocus="clearThis(this);" style="width: 90px">
<input type="image" src="includes/languages/english/images/buttons/button_quick_find.gif" alt="Quick Find" title="Search">
<input type="checkbox" name="search_in_description" alt="Search in descriptions" title="Search in descriptions" value="1"><font size="1" color="#FFFFFF">Keywords</font>
</form>
<!-- end of search code --!>

 

 

Thanks

 

 

oz

Link to comment
Share on other sites

The easiest way to do this is to change the size of

includes/languages/english/images/buttons/button_quick_find.gif

from width="26" height="21">

to width="21" height="19">

Thanks

Worldpar

Link to comment
Share on other sites

Hi,

 

Thanks but unfortunately it didn't any any difference except make the button smaller.

 

Any other ideas? The code in the header.php file is above.

 

oz

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...