Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to add image above and below a serch box


wiltsguy

Recommended Posts

hi there

 

ive managed to add the following code to my header (so that the seach box appears to the right of my header logo) However the search box isn't very big, i've got a couple of questions:

 

1. How can i make the search box slightly taller?

2. I've made a graphic to go above the search box. what code do i need to add to make sure this appears directly above the search box - it is the same width etc as the search box itself. I would also like to add a graphic below the search box

 

Many thanks in advance

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="header">
   <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>
   <td align="right" valign="middle" class="search">
<?php echo tep_draw_form('search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get') . tep_draw_hidden_field('search_in_description','1') . tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH+10) . 'px"') . ' ' . tep_hide_session_id() .'<input type="submit" name="Submit" value="Search">' . '</form>'; ?>
 </tr>
</table>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...