Balanced text wrapping in HTML

后端 未结 4 1144
旧时难觅i
旧时难觅i 2020-12-03 21:03

In HTML, is there a way to evenly distribute text that is broken across multiple lines?

E.g., I don\'t want:

   Here is some really long label that ends         


        
4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-03 21:36

    Somewhat of a workaround, but you can use non-breaking spaces for the last few words:

    Here is some really long label that ends on two lines

提交回复
热议问题