CSS ပြည့်လျှံနေသော ပိုင်ဆိုင်မှု
ဥပမာ
မတူညီသော အလျှံပယ်ပိုင်ဆိုင်မှုတန်ဖိုးများကို ပြပါ-
div.ex1 {
overflow: scroll;
}
div.ex2 {
overflow: hidden;
}
div.ex3 {
overflow:
auto;
}
div.ex4 {
overflow: visible;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
overflow
အကြောင်းအရာတစ်ခု၏ အကွက်တစ်ခု ပြည့်သွားပါက မည်သည့်အရာဖြစ်ရမည်ကို ပိုင်ဆိုင်မှုက သတ်မှတ်သည် ။
အကြောင်းအရာတစ်ခု၏အကြောင်းအရာသည် သတ်မှတ်ထားသောဧရိယာတွင် အံဝင်ခွင်ကျဖြစ်ရန် အလွန်ကြီးနေသောအခါတွင် အကြောင်းအရာကို ကလစ်လုပ်ရန် သို့မဟုတ် Scrollbars များထည့်ရန် ဤပိုင်ဆိုင်မှုကို သတ်မှတ်သည်။
မှတ်ချက်overflow
။ _
မူလတန်ဖိုး: | မြင်နိုင်သည်။ |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS2 |
JavaScript syntax- | အရာဝတ္ထု .style.overflow="scroll" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
overflow | 1.0 | 4.0 | 1.0 | 1.0 | 7.0 |
မှတ်ချက်- OS X Lion (Mac) တွင်၊ scrollbars များကို ပုံသေအားဖြင့် ဝှက်ထားပြီး အသုံးပြုသည့်အခါမှသာ ပြသသည် ("overflow:scroll" ဟုသတ်မှတ်ထားသော်လည်း)။
CSS Syntax
overflow: visible|hidden|scroll|auto|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
visible | The overflow is not clipped. It renders outside the element's box. This is default | |
hidden | The overflow is clipped, and the rest of the content will be invisible | |
scroll | The overflow is clipped, but a scroll-bar is added to see the rest of the content | |
auto | If overflow is clipped, a scroll-bar should be added to see the rest of the content | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS Overflow
CSS သင်ခန်းစာ- CSS နေရာချထား ခြင်း။
HTML DOM ရည်ညွှန်းချက်- overflow ပိုင်ဆိုင်မှု