CSS list-style-image Property
ဥပမာ
ပုံတစ်ပုံကို စာရင်းတစ်ခုတွင် စာရင်းအမှတ်အသားအဖြစ် သတ်မှတ်ပါ-
ul
{
list-style-image: url('sqpurple.gif');
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
list-style-image
ပိုင်ဆိုင်မှုသည် စာရင်း-အကြောင်းအရာ အမှတ်အသားကို ပုံတစ်ခုဖြင့် အစားထိုးသည် ။
မှတ်ချက်- ထို့အပြင် စာရင်းပုံစံ-အမျိုးအစား ပိုင်ဆိုင်မှုကို အမြဲတမ်း သတ်မှတ်ပေးပါ ။ အကြောင်းတစ်ခုခုကြောင့် ပုံအား မရရှိနိုင်ပါက ဤပိုင်ဆိုင်မှုကို အသုံးပြုပါသည်။
မူလတန်ဖိုး: | မရှိ |
---|---|
အမွေဆက်ခံသည်- | ဟုတ်တယ် |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS1 |
JavaScript syntax- | အရာဝတ္ထု .style.listStyleImage="url('smiley.gif')" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
list-style-image | 1.0 | 4.0 | 1.0 | 1.0 | 7.0 |
CSS Syntax
list-style-image: none|url|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
none | No image will be displayed. Instead, the list-style-type property will define what type of list marker will be rendered. This is default | |
url | The path to the image to be used as a list-item marker | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS စာရင်း
CSS ရည်ညွှန်းချက်- စာရင်းပုံစံ ပိုင်ဆိုင်မှု
HTML DOM ရည်ညွှန်းချက်- listStyleImage ပိုင်ဆိုင်မှု