You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Johnson <jo...@soho.club.tw> on 2004/05/14 13:00:33 UTC
How to assign Cforms input field's width
Hi!
The Cform's input field seems had the same width,how to set them.
Best Regards
Johnson
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How to assign Cforms input field's width
Posted by Marc Portier <mp...@outerthought.org>.
assigning the width is a 'styling' issue,
those are covered in the template file
try adding <fi:styling size="200" /> nested in your <ft:widget>
in general: any attributes added to the nested fi:styling element will
be copied over to your input field.
HTH,
-marc=
Johnson wrote:
> Hi!
>
> The Cform's input field seems had the same width,how to set them.
>
> Best Regards
>
> Johnson
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
--
Marc Portier http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at http://blogs.cocoondev.org/mpo/
mpo@outerthought.org mpo@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How to assign Cforms input field's width
Posted by la...@marinepower.com.
Simply add in your template
<wt:widget id="field_id">
<wi:styling width="100">
</wt:widget>
or
<wt:widget id="field_id">
<wi:styling style="width:100px">
</wt:widget>
or better
<wt:widget id="field_id">
<wi:styling class="fieldclass">
</wt:widget>
and in a .css :
fieldclass
{
width:100px
}
Hope it could help
Laurent
"Johnson" <jo...@soho.club.tw>
14/05/2004 13:00
Please respond to users
To: <us...@cocoon.apache.org>
cc:
Subject: How to assign Cforms input field's width
Hi!
The Cform's input field seems had the same width,how to set them.
Best Regards
Johnson
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org