Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need help from a PHP-programmer !!!


accessie

Recommended Posts

Hi, I want to align 'button_quick_find.gif' as absmiddle... how do I do that??

 

-----------------------------------------------------------------------------------------------

 

$info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'),

'align' => 'left',

'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-55) . 'px"') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '' . BOX_SEARCH_TEXT . '

 

-----------------------------------------------------------------------------------------------

Link to comment
Share on other sites

tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH, '', '', 'align="absmiddle"')

 

where:

 

button_quick_find.gif is your image

BOX_HEADING_SEARCH is the ALT TAG

the first and second '', are width and height dimensions and can be left blank

the last '', is the params section where you add your code.

Link to comment
Share on other sites

I tried, but no change... ?? I'm totally a n00b!

 

$info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'),

'align' => 'left',

'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-55) . 'px"') . ' ' .tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH, '', '', 'align="absmiddle"') . BOX_SEARCH_TEXT . '

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...