Previous Message
Next Message

Styling check boxes and radio buttons

Sent by Chris Heilmann on 22 March 2004 15:03


> A little problem that's been plaguing me for a while now... is there a way
> to control the indent/alignment of the text that follows a check box or
> radio button? I've got several check boxes with long narrow text columns
> that wrap and reflow around the box... looks kinda sloppy :-(. In the
> print
> world, I'd just set a handing indent and  a tab and the text would be
> perfect. I tried to do this a few months ago with a radio button but
> couldn't get it to work. Is there a solution?

There may be, but with form elements, you should always be aware that not
all browsers support styling of them. With good reason, too, as I don't
have to look for the form element if it looks the same way I am used to.

Your case the only proper solution I could think of is a table, which is
not nice, but could be done when you ensure you use <label> to link the
text to the checkbox.

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: