[Html-widget] Styling a RadioGroup in TemplateToolkit

Carl Franks fireartist at gmail.com
Wed Nov 8 14:37:37 GMT 2006


On 08/11/06, Xavier Robin <robin0 at etu.unige.ch> wrote:
> On Wednesday 08 November 2006 11:46, Carl Franks wrote:
> > If you use legend( 'Answer' ) instead of label( 'Answer' ) - that'll
> > do what you want.
>
> Except the bold, that's right, I don't know why I missed this.

Ah, for that, it's best to use CSS, something like...

.widget_my_answer > legend {
  font-weight: bold;
}

where "widget_my_answer" is the DOM id of your radiogroup.

Carl



More information about the Html-widget mailing list