ပုံစံ ကော်လံCount Property
ဥပမာ
div ဒြပ်စင်ရှိ စာသားကို ကော်လံသုံးခုသို့ ပိုင်းခြားပါ။
document.getElementById("myDIV").style.columnCount = 3;
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ကော်လံအရေအတွက် ပိုင်ဆိုင်မှုသည် အစိတ်အပိုင်းတစ်ခုအဖြစ် ပိုင်းခြားသင့်သည့် ကော်လံအရေအတွက်ကို သတ်မှတ်သည်။
Browser ပံ့ပိုးမှု
Property | |||||
---|---|---|---|---|---|
columnCount | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
အထားအသို
ကော်လံအရေအတွက် ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ။
object.style.columnCount
ကော်လံအရေအတွက် ပိုင်ဆိုင်မှုကို သတ်မှတ်ပါ-
object.style.columnCount = "number|auto|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
number | The optimal number of columns into which the content of the element will be flowed |
auto | Default value. The number of columns will be determined by other properties, like e.g. "column-width" |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
နည်းပညာဆိုင်ရာအသေးစိတ်
မူလတန်ဖိုး: | အော်တို |
---|---|
ပြန်ပို့တန်ဖိုး- | ဒြပ်စင်တစ်ခု၏ ကော်လံ-ရေတွက်ပိုင်ဆိုင်မှုကို ကိုယ်စားပြုသော စာကြောင်းတစ်ခု |
CSS ဗားရှင်း | CSS3 |
ဆက်စပ်စာမျက်နှာများ
CSS3 သင်ခန်းစာ- CSS3 ကော်လံများစွာ
CSS ရည်ညွှန်းချက်- ကော်လံ-အရေအတွက် ပိုင်ဆိုင်မှု
❮ စတိုင်အရာဝတ္ထု