text-justify-none-001.html (941B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Text 7.4. Justification Method: text-justify: none</title> 6 <link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> 7 <link rel="author" title="Mozilla" href="https://www.mozilla.org"> 8 <link rel="help" href="https://drafts.csswg.org/css-text-3/#text-justify-property"> 9 <link rel='match' href='text-justify-none-001-ref.html'> 10 <meta name="assert" content="text-justify:none means justification is disabled: there are no justification opportunities within the text."> 11 <style type='text/css'> 12 p { 13 font-size: 1.5em; 14 border: 1px solid black; 15 padding: 10px; 16 margin-right: 310px; 17 } 18 .test { 19 text-align-last: justify; 20 text-justify: none; 21 } 22 </style> 23 </head> 24 <body> 25 <p lang="en" class="test">Latin text</p> 26 <p lang="ja" class="test">日本 文字</p> 27 <p lang="th" class="test">อักษรไทย อักษรไทย</p> 28 </body> 29 </html>