ပုံစံ ဘောင်BottomWidth ပိုင်ဆိုင်မှု
ဥပမာ
<div> ဒြပ်စင်တစ်ခု၏အောက်ခြေဘောင်၏အကျယ်ကို 10px သို့ပြောင်းပါ-
document.getElementById("myDiv").style.borderBottomWidth = "10px";
အောက်တွင် နောက်ထပ် "စမ်းသုံးကြည့်ပါ" ဥပမာများ။
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
borderBottomWidth ပိုင်ဆိုင်မှုသည် ဒြပ်စင်တစ်ခု၏အောက်ခြေဘောင်၏ အကျယ်ကို သတ်မှတ် သို့မဟုတ် ပြန်ပေးသည်။
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
borderBottomWidth | 1.0 | 4.0 | 1.0 | 1.0 | 3.5 |
အထားအသို
borderBottomWidth ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ။
object.style.borderBottomWidth
borderBottomWidth ကို သတ်မှတ်ပါ-
object.style.borderBottomWidth = "thin|medium|thick|length|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
thin | Defines a thin border |
medium | Defines a medium border. This is default |
thick | Defines a thick border |
length | The width of the border in length units |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
နည်းပညာဆိုင်ရာအသေးစိတ်
မူလတန်ဖိုး: | အလယ်အလတ် |
---|---|
ပြန်ပို့တန်ဖိုး- | ဒြပ်စင်တစ်ခု၏အောက်ခြေဘောင်၏ အကျယ်ကို ကိုယ်စားပြုသော စာကြောင်းတစ်ခု |
CSS ဗားရှင်း | CSS1 |
နောက်ထပ် ဥပမာများ
ဥပမာ
<div> ဒြပ်စင်တစ်ခု၏ အောက်ခြေဘောင်၏ အကျယ်ကို ပါးလွှာရန် ပြောင်းပါ-
document.getElementById("myDiv").style.borderBottomWidth = "thin";
ဥပမာ
<div> ဒြပ်စင်တစ်ခု၏ အောက်ခြေဘောင်၏ အကျယ်ကို ပြန်ပေးပါ။
alert(document.getElementById("myDiv").style.borderBottomWidth);
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS Border
CSS ရည်ညွှန်းချက်- border-bottom-width ပိုင်ဆိုင်မှု
HTML DOM ရည်ညွှန်းချက်- နယ်စပ်ပိုင်ဆိုင်မှု