css text-justify property
Translation results:
text
English[tekst] American[tɛkst]
n. Text, original text; text, textbook; theme; version
v .Send a text message
##justify
English[ˈdʒʌstɪfaɪ] US[ˈdʒʌstəˌfaɪ] vt. Justify…; defend…; explain… vi. Organize the layout; prove legalitycss text-justify propertysyntax
Function:The text-justify attribute specifies the alignment method when text-align is set to text-align. This property specifies how lines of text are aligned and separated.
Grammar: text-justify: auto|inter-word|inter-ideograph|inter-cluster|distribute|kashida|trim
Description : auto The browser determines the parallel algorithm. None disables all rows. Inter-word Increase/decrease the spacing between words. Inter-ideograph uses ideographic text to organize content. Inter-cluster only aligns content that does not contain internal word gaps (such as Asian languages). Distribute is similar to a newspaper layout, except that in East Asian languages the last line is not aligned. kashida aligns content by stretching characters.
Note: Only Internet Explorer supports the text-justify attribute.
css text-justify propertyexample
<!DOCTYPE html> <html> <head> <style> div { text-align:justify; text-justify:inter-word; } </style> </head> <body> <h1>CSS text-justify 实例</h1> <div>php中文网</div> <p><b>提示:</b>请调整浏览器窗口的大小,来查看齐行效果。</p> <p><b>注释:</b>text-justify 属性只在 IE 中有效。</p> </body> </html>
Click the "Run instance" button to view the online instance