layout-grid-mode property
Specifies whether the text layout grid uses one or two dimensions.
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.
JavaScript page for this property: layoutGridMode. You can find other example(s) there. |
Possible values:
One of the following values:
Default. Character (char) and line grid modes are enabled. | |||||||
Only a character grid is used for the object. | |||||||
Only a line grid is used for the object. Use for inline elements. | |||||||
No layout grid is used. |
Default: both.
Example HTML code 1:
This example illustrates the use of the layout-grid-mode property:
|
||||
<head> <style> .example { layout-grid-mode: both; layout-grid-line: 15px; layout-grid-char: 15px; } </style> </head> <body> <div class="example">layout-grid-mode: both</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
layout-grid-char
layout-grid-line
layout-grid-type
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-type
ruby-align
ruby-overhang
ruby-position
text-justify
text-kashida-space
unicode-bidi
External links:
User Contributed Comments