Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Code required for padding search icon


Guest

Recommended Posts

Can anyone advise what code and exactly how it would 'sit' in the file below that would enable the search submit button to sit equal levels, in line with centre of the submit text box.

 

Please see my site to see the problem - whereby the icon sits too high at the end of the search box;

 

My Webpage

 

<?php

echo '<strong>' . BOX_HEADING_SEARCH .

'</strong> ';

echo tep_draw_form('quick_find', 'font color="white" ' . tep_href_link

(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL',

false), 'get');

echo tep_draw_input_field('keywords', '',

'size="10" maxlength="30" style="width: ' .

(BOX_WIDTH-30) . 'px"') . ' ' .

tep_hide_session_id() . tep_image_submit

('button_quick_find.gif',  BOX_HEADING_SEARCH);

echo '</form>';?>

 

many thanks

 

Jaz

Link to comment
Share on other sites

Can anyone advise what code and exactly how it would 'sit' in the file below that would enable the search submit button to sit equal levels, in line with centre of the submit text box.

 

Please see my site to see the problem - whereby the icon sits too high at the end of the search box;

 

My Webpage

 

<?php

echo '<strong>' . BOX_HEADING_SEARCH .

'</strong> ';

echo tep_draw_form('quick_find', 'font color="white" ' . tep_href_link

(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL',

false), 'get');

echo tep_draw_input_field('keywords', '',

'size="10" maxlength="30" style="width: ' .

(BOX_WIDTH-30) . 'px"') . ' ' .

tep_hide_session_id() . tep_image_submit

('button_quick_find.gif',  BOX_HEADING_SEARCH);

echo '</form>';?>

 

many thanks

 

Jaz

 

 

i had the same problem and messed with it for ages, i added the centre and then bottom align tag but it always misaligned

 

Best bet is to edit the gif in pshop make it bigger or smaller to make it align properly

 

or give up it will make you mad!!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...