CSS နယ်စပ်-အကွာအဝေး ပိုင်ဆိုင်မှု
ဥပမာ
ဇယားတစ်ခုအတွက် နယ်နိမိတ်အကွာအဝေးကို သတ်မှတ်ပါ-
#table1 {
border-collapse: separate;
border-spacing: 15px;
}
#table2 {
border-collapse: separate;
border-spacing: 15px 50px;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပိုင်ဆိုင်မှုသည် ကပ်လျက်ဆဲလ် များ၏ border-spacing
နယ်နိမိတ်များကြား အကွာအဝေးကို သတ်မှတ်ပေးသည်။
မှတ်ချက်- နယ်ခြားပြိုကျမှု သီးခြားဖြစ်နေ မှ သာ ဤပိုင်ဆိုင်မှုသည် အလုပ်လုပ် ပါသည်။
မူလတန်ဖိုး: | 2px |
---|---|
အမွေဆက်ခံသည်- | ဟုတ်တယ် |
သက်ဝင်လှုပ်ရှားနိုင်သော | ဟုတ်တယ် ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS2 |
JavaScript syntax- | အရာဝတ္ထု .style.borderSpacing="15px" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
border-spacing | 1.0 | 8.0 | 1.0 | 1.0 | 4.0 |
CSS Syntax
border-spacing: length|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
length length | Specifies the distance between the borders of adjacent cells in px, cm, etc. 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 |
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS ဇယား
HTML DOM ရည်ညွှန်းချက်- borderSpacing ပိုင်ဆိုင်မှု