CSS မိဘမဲ့ အိမ်ခြံမြေ
ဥပမာ
ပုံနှိပ်သည့်အခါ၊ အောက်ခြေတွင် အနည်းဆုံး စာကြောင်း ၄ ကြောင်းနှင့် စာမျက်နှာတစ်ခုစီ၏ ထိပ်တွင် စာကြောင်း ၂ ကြောင်း ပြသပါ-
@media print {
orphans: 4;
widows: 2;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပိုင်ဆိုင်မှု သည် orphans
စာမျက်နှာ သို့မဟုတ် ကော်လံ၏ အောက်ခြေတွင် ချန်ထားရမည့် အနည်းဆုံး စာကြောင်းအရေအတွက်ကို သတ်မှတ်သည်။
အကြံပြုချက်- ပိုင်ဆိုင်မှု ကိုလည်း ကြည့်ရှုပါ ။
widows
မူလတန်ဖိုး: | ၂ |
---|---|
အမွေဆက်ခံသည်- | ဟုတ်တယ် |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS3 |
JavaScript syntax- | object .style.orphans = "3" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
orphans | 25.0 | 8.0 | Not supported | 3.1 | 10.0 |
CSS Syntax
orphans: integer|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
integer | Specifies the minimum number of lines that must be left at the bottom of a page or column. Negative values are not allowed |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |