Hi Rickard,

a few weeks ago, I mailed a request for adding a "CSS class" property to the
templates. You may remember..

I'm now in the middle of my project and face a problem with this.
I see no way to define any style like width, height, background-color,
text-align,... in the templates for the label column and/or the value
column.

My table should have a label width of 25% and the rest (75%) will be used
for the value AND I DON'T want to add column headers.

Example
<table>
<ui:textfield name="'x'" ....
<ui:textfield name="'x'" ....
<ui:textfield name="'x'" ....
<ui:textfield name="'x'" ....
</table>

So my question is: How do I set column width, height, background-color,...
within these templates.

My recommondation would be to add 2 new properties to the templates( named
something like "labelStyle, valueStyle" or "labelTdStyle, valueTdStyle").


What do you think?



Patrick


 


> -----Ursprüngliche Nachricht-----
> Von: Rickard [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 22. März 2002 13:30
> An: Graf Patrick
> Cc: [EMAIL PROTECTED]
> Betreff: Re: [Webwork-user] CSS "style" tag support
> 
> 
> Graf Patrick wrote:
> 
> > I would like to mention a nice feature I'm missing.
> > It would be very helpful, if there is a possibility to use 
> the CSS "style"
> > tag in the templates like text.jsp, password.jsp, ... as a 
> parameter.
> > Especially to format the labels of them.
> 
> 
> Hm.. the labels use specific CSS classes that you can use. Is 
> that what 
> you're after?
> 
> /Rickard
> 
> -- 
> Rickard Öberg
> Author of "Mastering RMI"
> Chief Architect, TheServerSide.com
>    The Middleware Company - We Build Experts!
> 

_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to