စတိုင် emptyCells Property
ဥပမာ
ဆဲလ်အလွတ်များကို ပြသပုံကို ပြောင်းပါ-
function show()
{
document.getElementById("myTable").style.emptyCells = "show";
}
function hide()
{
document.getElementById("myTable").style.emptyCells = "hide";
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
အလွတ်ဆဲလ်များ၏ ပိုင်ဆိုင်မှုသည် သတ်မှတ်ပေးသည် သို့မဟုတ် ပြန်ပေးသည် သို့မဟုတ် ပြန်ပေးသည်။
Browser ပံ့ပိုးမှု
Property | |||||
---|---|---|---|---|---|
emptyCells | Yes | Yes | Yes | Yes | Yes |
အထားအသို
emptyCells ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ။
object.style.emptyCells
emptyCells ပိုင်ဆိုင်မှုကို သတ်မှတ်ပါ-
object.style.emptyCells = "show|hide|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
show | Border and background are shown in empty cells. This is default |
hide | Border and background are hidden in empty cells |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
နည်းပညာဆိုင်ရာအသေးစိတ်
မူလတန်ဖိုး: | ရှိုး |
---|---|
ပြန်ပို့တန်ဖိုး- | အလွတ်ဆဲလ်များ၏ နယ်နိမိတ်နှင့် နောက်ခံကို ကိုယ်စားပြုသော စာတန်း |
CSS ဗားရှင်း | CSS2 |
နောက်ထပ် ဥပမာများ
ဥပမာ
emptyCells ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ။
alert(document.getElementById("myTable").style.emptyCells);
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS ဇယား
CSS ရည်ညွှန်းချက်- ဆဲလ်ဗလာ ပိုင်ဆိုင်မှု
❮ စတိုင်အရာဝတ္ထု