Do you have a question? Post it now! No Registration Necessary. Now with pictures!
January 29, 2008, 7:13 pm
rate this thread
top the icon to search is beneath the form field but i need to get it
next to the form filed so that it lines up with the rest of the
the code i used is
tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false),
echo tep_draw_input_field('keywords', BOX_HEADING_SEARCH, 'size="10"
maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' .
<INPUT type=hidden value=1 name=search_in_description>
echo tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH);
wondering if theres something simple i can add to that to change it
I'm a complete php noob sorry.
Re: layout help
This isn't the code that controls it, other than the width and maxlength
attributes (which, obviously, you just change the number for).
You need to find the code where the functions "tep_draw_form" and
"tep_draw_input_field" are created. It could be somewhere on the same page
(further up) or in an "include" file or even a class file. If this is a
software download, as it appears to be, you may really not want to screw
around with it.
On the other hand, if you just want to do some css work, just use the
browser "view source" feature to get any class or id info. If none, try
putting it in a div to see if you can style it.