struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angel Gruev" <a.gr...@gmail.com>
Subject Re: css_xhtml theme - <br>
Date Wed, 05 Dec 2007 14:14:23 GMT
Thank you both for the quick response.
It worked!

2007/11/28, Eric Martin <eric@ericmmartin.com>:
>
>
> 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 <a.gruev@gmail.com> 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: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> >
>
> --
> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message