ပုံစံ စာတန်းSide Property
ဥပမာ
ဇယားစာတန်းကို ဇယား၏အောက်ခြေသို့ရွှေ့ပါ-
document.getElementById("myCap").style.captionSide = "bottom";
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
စာတန်းSide ပိုင်ဆိုင်မှုသည် ဇယားစာတန်း၏ အနေအထားကို သတ်မှတ်ပေးသည် သို့မဟုတ် ပြန်ပေးသည်။
Browser ပံ့ပိုးမှု
Property | |||||
---|---|---|---|---|---|
captionSide | Yes | 9.0 | Yes | Yes | Yes |
အထားအသို
စာတန်းဘေးဘက်ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ။
object.style.captionSide
စာတန်းဘေးဘက်ပိုင်ဆိုင်မှုကို သတ်မှတ်ပါ-
object.style.captionSide = "top|bottom|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
top | Default. Positions the table caption above the table |
bottom | Positions the table caption below the table |
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("myCap").style.captionSide);
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS ဇယား
CSS ရည်ညွှန်းချက်- စာတန်းဘေးဘက် ပိုင်ဆိုင်မှု
❮ စတိုင်အရာဝတ္ထု