CheckBoxList item text wrapping RRS feed

  • Question

  • User56700650 posted

    Has anyone figured out a good way to prevent checkboxlist item text from wrapping under the checkbox?

    ie.  [] text asdf asdf asdf
          asdfasdfasdf              <-- notice the text is under the checkbox itself

    Any ideas?

    Monday, May 19, 2008 3:18 PM


  • User1191518856 posted

    Haven't fiddled with CheckBoxList myself in this aspect, but I know there's some CSS stuff you can do to get normal ul/ol lists to behave in the same way (i.e. to indent the wrapped lines). Maybe you can apply these styles to your checkbox list as well?

    See http://www.alistapart.com/articles/taminglists/

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, May 19, 2008 3:21 PM