Question about setting css classes for labels of input fields

Markus Gaelli Markus.Gaelli at suisa.ch
Wed Apr 4 12:01:53 MEST 2007


Hi Lukas,

thanks for the fast answer. I tried it out, but without luck.
As you know I am trying to "magrittify" some existing app with already 
existing css styles.

Right now there are tables(!) to layout the label / inputfield combos, 
having different css classes for the labels and the input fields.
The solution you provide would mean that one should use the same css class 
for both the labels and the fields, do I understand correctly?

And: tables shouldn't be neccessary, no?

Cheers,

Markus

smallwiki-bounces at iam.unibe.ch wrote on 04.04.2007 11:39:27:

> > do I need to write my own visitors to set the css class for additional
> > labels of say input fields?
> 
> No, that is usually not necessary. Try:
> 
>    aDescription attributes class: 'newclass'
> 
> Cheers,
> Lukas
> 
> -- 
> Lukas Renggli
> http://www.lukas-renggli.ch
> 
> 
> 
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
> 



More information about the smallwiki mailing list