Re: layout help
- From: "Mason Barge" <masonbarge@xxxxxxxxxxx>
- Date: Tue, 29 Jan 2008 16:48:29 -0500
<philiplemon@xxxxxxxxx> wrote in message news:4e88140d-958c-4812-b55a-5ab9f49c81c7@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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
<?php
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();
?>
<INPUT type=hidden value=1 name=search_in_description>
<?php
echo tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH);
echo '</form>';
?>
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.
.
- References:
- layout help
- From: philiplemon
- layout help
- Prev by Date: Re: php script delimiter <? not recognized
- Next by Date: Re: how to pass POST variables without a form?
- Previous by thread: Re: layout help
- Next by thread: php script delimiter <? not recognized
- Index(es):