layout-grid-type property
Specifies the type of grid to be used for laying out Japanese or Chinese characters in a web document.
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 properly display them in web pages.
The layout-grid-type property has effect only on block elements.
JavaScript page for this property: layoutGridType. You can find other example(s) there. |
Possible values:
One of the following values:
Indicates that the layout grid is used in mono-space layout. | |||||||
Default. Indicates that the layout grid is used for Japanese and Korean characters. | |||||||
Indicates that the layout grid is used for Chinese, Japanese (Genko) and Korean characters. |
Default: loose.
Example HTML code 1:
This example illustrates the use of the layout-grid-type property:
|
||||
<head> <style> .example { layout-grid-type: fixed; } </style> </head> <body> <div class="example">layout-grid-type: fixed</div> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
address, blockQuote, body, caption, center, dd, dir, div, dl, dt, fieldSet, form, H1, H2, H3, H4, H5, H6, html, isIndex, legend, li, listing, marquee, menu, ol, p, pre, table, td, textArea, th, tr, ul, xmp
Related pages:
ime-mode
layout-flow
layout-grid
layout-grid-char
layout-grid-line
layout-grid-mode
ruby-align
ruby-overhang
ruby-position
text-justify
text-kashida-space
unicode-bidi
layout-flow
layout-grid
layout-grid-char
layout-grid-line
layout-grid-mode
ruby-align
ruby-overhang
ruby-position
text-justify
text-kashida-space
unicode-bidi
External links:
User Contributed Comments