accessie Posted August 12, 2006 Share Posted August 12, 2006 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 More sharing options...
Guest Posted August 12, 2006 Share Posted August 12, 2006 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 More sharing options...
accessie Posted August 12, 2006 Author Share Posted August 12, 2006 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 More sharing options...
choosealogin Posted August 12, 2006 Share Posted August 12, 2006 tep_image_submit doesn't have height / width , try it without those tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH, 'align="absmiddle"') Link to comment Share on other sites More sharing options...
accessie Posted August 12, 2006 Author Share Posted August 12, 2006 THANX!!! drinks for everybody! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.