CSS word-wrap Property
ဥပမာ
ရှည်လျားသော စကားလုံးများကို နောက်တစ်ကြောင်းသို့ ချိုးဖျက်၍ ခြုံနိုင်စေရန် ခွင့်ပြုပါ-
div {
word-wrap: break-word;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
word-wrap
ပိုင်ဆိုင်မှုသည် ရှည်လျားသောစကားလုံးများကို ချိုးဖျက်နိုင်ပြီး နောက်တစ်ကြောင်းကို ခြုံငုံနိုင်စေပါသည် ။
မူလတန်ဖိုး: | ပုံမှန် |
---|---|
အမွေဆက်ခံသည်- | ဟုတ်တယ် |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS3 |
JavaScript syntax- | အရာဝတ္ထု .style.wordWrap="break-word" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
word-wrap | 4.0 | 5.5 | 3.5 | 3.1 | 10.5 |
CSS Syntax
word-wrap: normal|break-word|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
normal | Break words only at allowed break points. This is default |
break-word | Allows unbreakable words to be broken |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS စာသားအကျိုးသက်ရောက်မှု များ