CSS page-break-inside Property
ဥပမာ
<pre> နှင့် <blockquote> ဒြပ်စင်များအတွင်း စာမျက်နှာခွဲခြင်းကို ရှောင်ကြဉ်ပါ-
@media print {
pre, blockquote {page-break-inside: avoid;}
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
page-break-inside
သတ်မှတ်ထားသော ဒြပ်စင်တစ်ခုအတွင်း စာမျက်နှာခွဲခြင်းကို ရှောင်ရှားသင့်သည်ရှိမရှိ ပိုင်ဆိုင်မှုက သတ်မှတ်ပေးသည် ။
အကြံပြုချက်- ဂုဏ်သတ္တိများ- စာမျက်နှာ-ချိုး-မတိုင်မှီ ၊ စာမျက်နှာ-ချိုး-ပြီးနောက် နှင့် စာမျက်နှာ-ချိုး-အတွင်းပိုင်း- စာရွက်စာတမ်းကို ရိုက်နှိပ်သည့်အခါ မည်သို့ပြုမူသင့်သည်ကို သတ်မှတ်ရန် ကူညီပေးသည်။
မှတ်ချက်- ဤပိုင်ဆိုင်မှုကို လုံးဝနေရာချထားသော ဒြပ်စင်များပေါ်တွင် သင်အသုံးမပြုနိုင်ပါ။
မူလတန်ဖိုး: | အော်တို |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS2 |
JavaScript syntax- | အရာဝတ္ထု .style.pageBreakInside="ရှောင်ရန်" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
page-break-inside | 1.0 | 8.0 | 19.0 | 1.3 | 7.0 |
CSS Syntax
page-break-inside: auto|avoid|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
auto | Default. Automatic page-breaks |
avoid | Avoid page-break inside the element (if possible) |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
ဆက်စပ်စာမျက်နှာများ
HTML DOM ရည်ညွှန်းချက်- pageBreakInside ပိုင်ဆိုင်မှု