CSS စာရင်းပုံစံ ပိုင်ဆိုင်မှု
ဥပမာ
ကြေငြာချက်တစ်ခုတွင် စာရင်းဂုဏ်သတ္တိအားလုံးကို သတ်မှတ်ပါ-
ul
{
list-style: square inside url("sqpurple.gif");
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
list-style
ပိုင်ဆိုင်မှုသည် အောက်ပါဂုဏ်သတ္တိများအတွက် အတိုကောက်ဖြစ်သည် ။
တန်ဖိုးများထဲမှ တစ်ခု ပျောက်ဆုံးနေပါက၊ ထိုပိုင်ဆိုင်မှုအတွက် မူရင်းတန်ဖိုးကို အသုံးပြုပါမည်။
မူလတန်ဖိုး: | disc အပြင်မှာ မရှိဘူး။ |
---|---|
အမွေဆက်ခံသည်- | ဟုတ်တယ် |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS1 |
JavaScript syntax- | အရာဝတ္ထု .style.listStyle="ဒဿမအထဲမှာ" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
list-style | 1.0 | 4.0 | 1.0 | 1.0 | 7.0 |
CSS Syntax
list-style: list-style-type list-style-position list-style-image|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
list-style-type | Specifies the type of list-item marker. Default value is "disc" |
list-style-position | Specifies where to place the list-item marker. Default value is "outside" |
list-style-image | Specifies the type of list-item marker. Default value is "none" |
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 ရည်ညွှန်းချက်- listStyle ပိုင်ဆိုင်မှု