mark27uk3 Posted February 22, 2005 Share Posted February 22, 2005 Hi Guys, I have a graphical search box on my sts_template which looks like this (I would have posted this in the contrib section but it has nothing really to do with the sts itself) As you can see the search box is being pushed apart by the search fields somehow, somewhere. Will someone please take a look at the code below and tell me what you think is causing the problem and how to fix it. <tr> <td width="76" height="60" ><img src="images/search.jpg" width="76" height="60"></td> <td width="108" background="images/bg2.gif" > $searchbox</td> </tr> And this is the code from the search.php box file <?php $info_box_contents = array(); $info_box_contents = array(); $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'), 'align' => 'center', 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' <br>' . tep_hide_session_id() . tep_image_submit('go.jpg', BOX_HEADING_SEARCH) . '</a>'); new infoBox($info_box_contents); ?> As you can see I have stripped out as much as I think I can to make the box smaller. Any ideas please guys? Thanks Mark :thumbsup: Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.