StreetFamous.com Posted February 22, 2009 Posted February 22, 2009 Okay I am having an issue making this search field in osCommerce to auto size, heres the code I am working with.... <?php echo tep_draw_form('search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get') . tep_draw_hidden_field('search_in_description','1') . tep_draw_input_field('keywords', '', 'maxlength="30" class="searchbox1" style="width: ' . (BOX_WIDTH+100) . '%"') . tep_hide_session_id() .'</form>'; ?> Now the (BOX_WIDTH+100 . '% is what I added so the box auto extended to the customers browser, you can view what I am talking about at the top of this page www.StreetFamous.com/catalog its on the top right. For some reason it goes off the template instead of making its self stop in its table boundaries...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.