Agreed...the <br /> is irritating ;)

Just to expand on what Dave said...

1) extract the template/simple/inputtransferselect.ftl file from the struts
jar.
2) put the file in your classpath, we have it in
WEB-INF/classes/template/simple
3) edit the file and remove the <br />. For example:
change: <label for="leftTitle">${parameters.leftTitle}</label><br />
to: <label for="leftTitle">${parameters.leftTitle}</label>

HTH

-Eric


newton.dave wrote:
> 
> You can customize the templates by extracting them
> from the jar and putting them in your classpath. The
> <br/> thing is irritating.
> 
> d.
> 
> --- Angel Gruev <[EMAIL PROTECTED]> wrote:
> 
>> Hello,
>> 
>> I want to use the css_xhtml theme of struts 2. The
>> problem is that by
>> default, the <s:textfield ../> results in HTML of
>> Label and input field that
>> have <br/> between them.
>> This makes it hard to align the lable and the input
>> field on the same line
>> using css.
>> Why is this <br/> tag there?! An how can be removed
>> easily?
>> 
>> Thanks!
>> Angel Gruev
>> Dreamix Ltd <www.dreamix.eu>
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/css_xhtml-theme---%3Cbr%3E-tf4889135.html#a13995673
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to