Justify Paragraph Text HTML

前端 未结 4 1871
鱼传尺愫
鱼传尺愫 2020-12-31 18:23

How would one justify this text?? I have tried and searched for days to get something so simple to work..

Ex:

HTML:

4条回答
  •  耶瑟儿~
    2020-12-31 18:47

    #justify p:after {
      content: "";
      display: inline-block;
      width: 100%;
    }
    

    Through some HTML Trickery, this should work. I found it on a blog post ages ago when I had a similar problem. Check it out on the JSFiddle

    http://jsfiddle.net/xDqwF/2/

提交回复
热议问题