[Solar-talk] prevent form labels from wraping

Rodrigo Moraes rodrigo.moraes at gmail.com
Thu Aug 3 17:33:53 PDT 2006


On 8/3/06, Jeff Surgesonwrote:
> What determines the width of the <dt> & <dd> width? is ther a way to set it
> other than modifying the form helper?

Jeff, you can define them in your stylesheet:

dt {
    width: ...
}

or, if you use more than one:

#this_form dt {
    width: ...
}

I'm not sure if you want them to be on the side or not; you would need
to use float's in this case.

(and this remembers me how a UI library for Solar, with working
get-and-use CSS & code examples for common widgets like forms and all,
would be great. This is my dream, and I will start something in this
direction right after I put my site online)

rodrigo


More information about the solar-talk mailing list