hmmmm..

This would work of course. But :-)

as you mentioned in your response I would still have to declare a CSS class
for this/every special template. An as a side effect, this would increase
the html result more than necessary (need additional divs and CSS class
definition) .



Patrick






> -----Urspr�ngliche Nachricht-----
> Von: Rickard [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 22. M�rz 2002 14:17
> An: Graf Patrick
> Cc: Webwork-User
> Betreff: Re: AW: [Webwork-user] CSS "style" tag support
> 
> 
> (Remember to CC the list)
> 
> Graf Patrick wrote:
> 
> > No, 
> > 
> > because it would need lots of CSS classes for the same thing.
> > 
> > Example:
> > 
> > the default text.jsp is formatted well for normal use. But 
> for once I need
> > the label in bold letters. With the style tag I could simply say
> > <webwork:textfield .... style="'font-weight:bold'"> .
> > 
> > Or a different color for once
> > <webwork:textfield .... style="'color:green'">
> 
> 
> Would it be possible for you to encapsulate these special 
> occasions with 
> div's? I.e. something like this:
> 
> <div class="myspecialform">
> <ui:password name.../>
> </div>
> 
> and then specify CSS as:
> .myspecialform .label
> {
>    color: green;
> }
> 
> I think this should work, and solve your problem, and without 
> having to 
> change anything in WebWork.
> 
> Good enough?
> 
> /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
> 

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

Reply via email to