ပုံစံ ဇယားLayout Property
ဥပမာ
ပုံသေ ဇယားကွက်ကွက်ကို သတ်မှတ်ပါ-
document.getElementById("myTable").style.tableLayout = "fixed";
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
tableLayout ပိုင်ဆိုင်မှုသည် ဇယားဆဲလ်များ၊ အတန်းများနှင့် ကော်လံများကို ခင်းကျင်းရန် နည်းလမ်းကို သတ်မှတ် သို့မဟုတ် ပြန်ပေးသည်။
Browser ပံ့ပိုးမှု
Property | |||||
---|---|---|---|---|---|
tableLayout | Yes | Yes | Yes | Yes | Yes |
အထားအသို
tableLayout ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ-
object.style.tableLayout
tableLayout ပိုင်ဆိုင်မှုကို သတ်မှတ်ပါ-
object.style.tableLayout = "auto|fixed|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
auto | Column width is set by the widest unbreakable content. This is default.
|
fixed | Column width is set by the width of table and columns (not the content of the 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 |
နောက်ထပ် ဥပမာများ
ဥပမာ
စားပွဲအပြင်အဆင်ကို ပြန်ပေးပါ။
alert(document.getElementById("myTable").style.tableLayout);
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS ဇယား
CSS ရည်ညွှန်းချက်- ဇယားကွက်ကွက် ပိုင်ဆိုင်မှု
❮ စတိုင်အရာဝတ္ထု