ပုံစံ borderRight Property
ဥပမာ
<div> ဒြပ်စင်သို့ ညာဘက်ဘောင်ကို ထည့်ပါ-
document.getElementById("myDiv").style.borderRight = "thick solid #0000FF";
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
borderRight ပိုင်ဆိုင်မှုသည် သီးခြားနယ်စပ်-ညာဘက် ဂုဏ်သတ္တိသုံးခုအထိ၊ လက်တိုပုံစံဖြင့် သတ်မှတ် သို့မဟုတ် ပြန်ပေးသည်။
ဤပိုင်ဆိုင်မှုဖြင့်၊ သင်သည် အောက်ပါတစ်ခု သို့မဟုတ် တစ်ခုထက်ပိုသော (မည်သည့်အစီအစဥ်တွင်မဆို သတ်မှတ်/ပြန်ယူနိုင်သည်)။
- ဘောင်-ညာ-အနံ
- border-right-စတိုင်
- ဘောင်-ညာ-အရောင်
Browser ပံ့ပိုးမှု
Property | |||||
---|---|---|---|---|---|
borderRight | Yes | Yes | Yes | Yes | Yes |
အထားအသို
နယ်စပ် ညာဘက်ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ-
object.style.borderRight
borderRight property ကို သတ်မှတ်ပါ-
object.style.borderRight = "width style color|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Parameter | Description |
---|---|
width | Sets the width of the right border |
style | Sets the style of the right border |
color | Sets the color of the right border |
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.borderLeft = "thin dotted red";
ဥပမာ
<div> ဒြပ်စင်တစ်ခု၏ နယ်စပ်-ညာဘက် ပိုင်ဆိုင်မှုတန်ဖိုးများကို ပြန်ပေးပါ။
alert(document.getElementById("myDiv").style.borderLeft);
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS Border
CSS ရည်ညွှန်းချက်- ဘောင်-ညာဘက် ပိုင်ဆိုင်မှု
HTML DOM ရည်ညွှန်းချက်- နယ်စပ်ပိုင်ဆိုင်မှု