layout help

layout help

am 29.01.2008 20:13:39 von philiplemon

I have this www.dacapoclothingco.com/browse and the search box at the
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
stuff.

the code i used is

echo tep_draw_form('quick_find',
tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false),
'get');

echo tep_draw_input_field('keywords', BOX_HEADING_SEARCH, 'size="10"
maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' .
tep_hide_session_id();
?>

echo tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH);
echo '';
?>

wondering if theres something simple i can add to that to change it
I'm a complete php noob sorry.

Re: layout help

am 29.01.2008 20:51:08 von Jerry Stuckle

philiplemon@gmail.com wrote:
> I have this www.dacapoclothingco.com/browse and the search box at the
> 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
> stuff.
>
> the code i used is
>
> > echo tep_draw_form('quick_find',
> tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false),
> 'get');
>
> echo tep_draw_input_field('keywords', BOX_HEADING_SEARCH, 'size="10"
> maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' .
> tep_hide_session_id();
> ?>
>
> > echo tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH);
> echo '';
> ?>
>
> wondering if theres something simple i can add to that to change it
> I'm a complete php noob sorry.
>

For layout questions, try alt.html. All PHP is doing is outputting html
code for you.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: layout help

am 29.01.2008 22:48:29 von Mason Barge

wrote in message
news:4e88140d-958c-4812-b55a-5ab9f49c81c7@m34g2000hsb.google groups.com...
>I have this www.dacapoclothingco.com/browse and the search box at the
> 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
> stuff.
>
> the code i used is
>
> > echo tep_draw_form('quick_find',
> tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false),
> 'get');
>
> echo tep_draw_input_field('keywords', BOX_HEADING_SEARCH, 'size="10"
> maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' .
> tep_hide_session_id();
> ?>
>
> > echo tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH);
> echo '';
> ?>
>
> wondering if theres something simple i can add to that to change it
> I'm a complete php noob sorry.

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.