CSS စာတန်း- side Property
ဥပမာ
ဇယားစာတန်းများ နေရာချထားမှုကို သတ်မှတ်ပါ-
#example1 {
caption-side: bottom;
}
#example2 {
caption-side: top;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပိုင်ဆိုင်မှု သည် caption-side
ဇယားစာတန်းတစ်ခု၏ နေရာချထားမှုကို သတ်မှတ်သည်။
မူလတန်ဖိုး: | ထိပ်တန်း |
---|---|
အမွေဆက်ခံသည်- | ဟုတ်တယ် |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS2 |
JavaScript syntax- | အရာဝတ္ထု .style.captionSide="အောက်ခြေ" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
caption-side | 1.0 | 8.0 | 1.0 | 1.0 | 4.0 |
CSS Syntax
caption-side: top|bottom|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
top | Puts the caption above the table. This is default | |
bottom | Puts the 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 သင်ခန်းစာ- CSS ဇယား
HTML DOM ရည်ညွှန်း- စာတန်းSide ပိုင်ဆိုင်မှု