هوسیس تکس-جاستائی اٹریبوت
- پچھلے پیم تکس-ایندرت
- پائیدہ پیم تکس-اوریئنتیشن
Definition and usage
The text-align property specifies the alignment of the text when the text-align setting is set to "justify".
This property specifies how to align and separate line text.
Example
Change word spacing for alignment:
div { text-align:justify; text-justify:inter-word; }
CSS syntax
text-justify: auto|inter-word|inter-ideograph|inter-cluster|distribute|kashida|trim;
Attribute value
Value | Description | Test |
---|---|---|
auto | The browser decides the alignment algorithm. | Test |
none | Disable alignment. | Test |
inter-word | Increase/decrease word spacing. | Test |
inter-ideograph | Align content using ideographic text. | Test |
inter-cluster | Align only content that does not contain internal word spacing (such as Asian languages). | Test |
distribute | Similar to newspaper layout, except the last line in East Asian languages is not aligned. | Test |
kashida | Align content by stretching characters. | Test |
Technical details
Kaiyawa: | auto |
---|---|
Gudanin: | yes |
Babban: | CSS3 |
JavaScript yareyare: | object.style.textJustify="inter-word" |
Yanbayi yanbayi
Tabin na burin burin na bayanin ya na gudanin burin burin na yanbayin ta yake burin burin na yanbayin.
چروم | آئی ای / اینج | فایرفاکس | سافری | اوپرا |
---|---|---|---|---|
Yanbayi * | 11.0 | 55.0 | 10.0.3 | Yanbayi * |
* Funkshonin na yake a “Yanbayi Web Platform Fagali” aiki (yakada a “Yanbayi”). Bawo ni kaiyawa gurbin Chrome: kaiyawa kaiyawa “chrome://flags” ni. Bawo ni kaiyawa gurbin Opera: kaiyawa kaiyawa “flags” ni.
- پچھلے پیم تکس-ایندرت
- پائیدہ پیم تکس-اوریئنتیشن