TYPOlight Open Source CMS > TYPOlight forum

Switch to german forum

Index > Templates and CSS > Unwanted line break after form field

spirelli
User
Avatar
I've created a simple for for the site search, and after the text field I get a <br /> tag. I've looked though all the form_ templates, but I cannot figure out where this comes from....

I want to remove this but don't know how. Thanks for any help.

Here's the code generated by TL:

<div class="formbody">
<input type="hidden" name="FORM_SUBMIT" value="auto_form_1" />
<input type="hidden" name="MAX_FILE_SIZE" value="2048000" />
<input type="text" name="search_keywords" id="ctrl_1" class="text" value="Search" /><br />
<div class="submit_container"><input type="image" src="tl_files/Website graphics/search-button.gif" id="ctrl_3" class="submit" alt="search" value="search" /></div>
</div>
18/06/2009 17:34
qrczak
User
Avatar
Posts: 550
Elbląg, Poland
Try in csss file add this:
iconcss:
.formbody br {
    display:none;
}
Martin

http://www.typolight.pl - Polish Support Site
http://forum.typolight.pl - Polish TYPOligth community forum
Polish TYPOlight screencasts
| Polish Manual (PDF)
-----------------------
Need custom template? Feel free to contact me by e-mail marcin@typolight.pl
18/06/2009 19:15
spirelli
User
Avatar
Brilliant thought! Thanks so much, that works :thumbup:
Not having to change any template's good.
18/06/2009 19:28