CSS စာသား- ပိုင်ဆိုင်မှု ကို မျှတစေပါသည်။
ဥပမာ
text-align ကို "justify" ဟုသတ်မှတ်သောအခါ မျှတသောနည်းလမ်းကို "စကားလုံးအချင်းချင်း" ဟုသတ်မှတ်ပါ-
div
{
text-align: justify;
text-justify: inter-word;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
text-justify
text-align ကို "justify" ဟု သတ်မှတ်သောအခါ ပိုင်ဆိုင်မှုသည် စာသား၏ မျှတသောနည်းလမ်းကို သတ်မှတ်ပေးသည် ။
မူလတန်ဖိုး: | အော်တို |
---|---|
အမွေဆက်ခံသည်- | ဟုတ်တယ် |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS3 |
JavaScript syntax- | အရာဝတ္ထု .style.textJustify="inter-word" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
text-justify | Yes* | 11.0 | 55.0 | 10.0.3 | Yes* |
*ဤအင်္ဂါရပ်သည် စမ်းသပ်ဝဘ်ပလပ်ဖောင်းအင်္ဂါရပ် များကို ဦးစားပေးဖွင့်ရန် (Enabled ဟု သတ်မှတ်ရန် လိုအပ်သည်) နောက်ကွယ်တွင်ရှိသည်။ Chrome ရှိ ဦးစားပေးများကို ပြောင်းလဲရန်- Chrome ဘရောက်ဆာတွင် "chrome://flags" ကို ရိုက်ထည့်ပါ။ Opera ရှိ ဦးစားပေးများကို ပြောင်းလဲရန်- Opera browser ရှိ "အလံများ" ကို ရိုက်ထည့်ပါ။
CSS Syntax
text-justify: auto|inter-word|inter-character|none|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
auto | The browser determines the justification algorithm | |
inter-word | Increases/Decreases the space between words | |
inter-character | Increases/Decreases the space between characters | |
none | Disables justification methods | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |