luddite_jean Posted May 6, 2007 Share Posted May 6, 2007 I've put a Quick Search field in the header, where it's more easily seen. The code works fine, but the GIF isn't aligned to the input field, and it looks messy. Both are aligned to the bottom of the table cell. See image below to see mis-alignment: Here's the code I use to generate the Quick Search: <?php echo '<strong>' . BOX_HEADING_SEARCH . '</strong><br>'; echo tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'); echo tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . tep_draw_input_field('keywords', '', 'size="10" maxlength="50" style="width: ' . (BOX_WIDTH-50) . 'px"') . ' ' . tep_hide_session_id(); echo '</form>'; ?> Any ideas? Link to comment Share on other sites More sharing options...
luddite_jean Posted May 7, 2007 Author Share Posted May 7, 2007 anyone? Link to comment Share on other sites More sharing options...
kewldude_3001 Posted May 7, 2007 Share Posted May 7, 2007 im just guessing here, but im guessing that the search image has that extra blue section below it, if so, you can try cropping the picture to exclude the bottom section thats my guess Link to comment Share on other sites More sharing options...
luddite_jean Posted May 7, 2007 Author Share Posted May 7, 2007 im just guessing here, but im guessing that the search image has that extra blue section below it, if so, you can try cropping the picture to exclude the bottom section thats my guess Fraid not! Thanks anyway. Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 7, 2007 Share Posted May 7, 2007 You have to enclose the various parts in table cells and align that way. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.