layout-grid property
Specifies up to four separate layout-grid properties that specify the layout of text characters.
If you want to display characters that use a one or two-dimensional grid layout, such as Chinese and Japanese,
you can use the layout-grid property to display them properly in web pages.
JavaScript page for this property: layoutGrid. You can find other example(s) there. |
Possible values:
Values in this order |
||||||||||||||||||||
|
Description of values:
Specifies the size of the character grid for the layout of an element's text content. | |||||||
Specifies the gridline value used for laying out Japanese or Chinese characters in a web document. | |||||||
Specifies whether the text layout grid uses one or two dimensions. | |||||||
Specifies the type of grid to be used for laying out Japanese or Chinese characters in a web document. |
Default: both loose none none.
Example HTML code 1:
This example illustrates the use of the layout-grid property:
|
||||
<head> <style> .example { layout-grid: both fixed 15px 15px; } </style> </head> <body> <div class="example">layout-grid: both fixed 15px 15px</div> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
a, abbr, acronym, address, applet, b, bdo, big, blockQuote, body, button, caption, center, cite, code, col, colGroup, dd, del, dfn, dir, div, dl, dt, em, embed, fieldSet, font, form, frame, H1, H2, H3, H4, H5, H6, hr, html, i, iframe, img, input:button, input:checkbox, input:file, input:image, input:password, input:radio, input:reset, input:submit, input:text, ins, isIndex, kbd, label, legend, li, listing, marquee, menu, nobr, object, ol, p, pre, q, rt, ruby, s, samp, select, small, span, strike, strong, sub, sup, table, tBody, td, textArea, tFoot, th, tHead, tr, tt, u, ul, var, xmp
Related pages:
ime-mode
layout-flow
layout-grid-char
layout-grid-line
layout-grid-mode
layout-grid-type
ruby-align
ruby-overhang
ruby-position
text-justify
text-kashida-space
unicode-bidi
layout-flow
layout-grid-char
layout-grid-line
layout-grid-mode
layout-grid-type
ruby-align
ruby-overhang
ruby-position
text-justify
text-kashida-space
unicode-bidi
External links:
User Contributed Comments