Multiline label in asp.net

后端 未结 5 2002
感动是毒
感动是毒 2021-01-17 14:09

I want to use a multiline label but as the control is browser dependent, even on setting the height, width and wrap properties of the label control I am unable to display mu

5条回答
  •  自闭症患者
    2021-01-17 14:37

    width ="...px"  style="word-wrap:normal; "
    

    If you want to break last word if it exceeds width then style="word-wrap:break-word; " You can use max-width:...px; on style tag for being sure word wrapping if you change width programmaticaly.

提交回复
热议问题