Forum Moderators: open

Message Too Old, No Replies

Indenting wrapped text below checkbox

         

bruhaha

3:28 pm on Nov 6, 2002 (gmt 0)

10+ Year Member



I have a form with a couple of checkboxes. The text after the boxes wraps onto the next line. I would like it to wrap underneath the first word of text, rather than under the checkbox (similar to setting the style for a list as "list-style-position: outside").

Any ideas about how to accomplish this?

phollings

5:21 pm on Nov 6, 2002 (gmt 0)

10+ Year Member



There's a CSS property "text-indent" that applies to only the first line. I've used a negative text-indent to make the first lins start a little to the left and then an equal positive-valued left margin to shift the start of the second and following lines to the right. This gives the effect of an hanging indent.

HTH,

Peter Hollings