You are here: Re: layout help « PHP Programming Language « IT news, forums, messages
Re: layout help

Posted by Mason Barge on 01/29/08 21:48

<philiplemon@gmail.com> wrote in message
news:4e88140d-958c-4812-b55a-5ab9f49c81c7@m34g2000hsb.googlegroups.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
>
> <?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"') . '&nbsp;' .
> 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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация