Thực đơn
Bản_mẫu:Div_col Các tham số của bản mẫu nàyCó 6 tham số cho bản mẫu này:
|colwidth=
Specifies the minimum width of the columns so that the number of columns is automatically based on screen width (that is, more columns will be shown on wider displays). Can be specified in any CSS unit of measure, for instance, the em (about the width of the capital "M" of the displayed typeface), e.g., colwidth=20em
. If no value is supplied, the template uses a default of 30em.|rules=
Adds vertical lines ("rules") between the columns if set to yes
or some CSS styling (e.g. 1px dashed blue;
).|gap=
Specifies the space between the content of adjacent columns. Specified in any CSS unit, e.g, gap=2em
. The default spacing (set by browser) is 1em.|style=
CSS styling to apply to the columns.|small=yes
sets font size to 90%.|content=
content to apply to the columns.{{div col|colwidth=10em}}* a* b* c* d* e* f* g* h{{div col end}}kết quả
{{Div col|rules=yes}}* a* b* c* d* e* f* g* h{{Div col end}}kết quả
{{Div col|colwidth=10em|rules=yes|gap=2em}}* a* b* c* d* e* f* g* h{{Div col end}}kết quả
{{Div col|small=yes}}* a* b* c* d* e* f* g* h{{Div col end}}kết quả
{{Div col end}}
{{Div col|colwidth=10em|content=* a* b* c* d* e* f* g* h}}kết quả
Các tham số có thể được sử dụng theo thứ tự bất kỳ.Ví dụ:
{{Div col|colwidth=10em|rules=yes|gap=2em|small=yes}}* a* b* c* d* e* f* g* h{{Div col end}}
hoặc
{{Div col|rules=yes|gap=2em|small=yes|colwidth=10em}}* a* b* c* d* e* f* g* h{{Div col end}}kết quả
và chính xác cùng một kết quả dưới đây
{{div col|colwidth=20em}}* a* b* c* d* e* f* g* h{{div col end}}kết quả
{{div col|colwidth=30em}}* a* b* c* d* e* f* g* h{{div col end}}kết quả
{{div col|colwidth=10em}}abcdefgh{{div col end}}kết quả
abcdefgh
Thực đơn
Bản_mẫu:Div_col Các tham số của bản mẫu nàyLiên quan
Bản Máy Bản mở rộng Bản Mế Bản Motet Bản Mù Bản mạch chủ Bản mẫu Bản danh sách của Schindler Bảng mã IOC Bản quyền thể thao tại Việt NamTài liệu tham khảo
WikiPedia: Bản_mẫu:Div_col http://www.w3.org/TR/css3-multicol/ https://bambots.brucemyers.com/TemplateParam.php?w...