B.50. layout-grid-line

East Asian writing systems generally call for character layout to be performed in a grid. This property sets the line size enforced by that grid.

layout-grid-mode must be set to line or both for this property to have any effect.

Inherited: Yes

See also: Section B.48layout-grid and Section B.51layout-grid-mode

B.50.1. Value

This property can take a CSS length value, a percentage of the parent element's height, auto (use the largest character in the font as the grid size), or none (line grid disabled).

Initial value: none

B.50.2. Compatibility

CSS Version: n/a

Internet Explorer 5 or later for Windows only.

Equivalent functionality is planned for inclusion in CSS3, but final property names and values are likely to differ. To follow the work on this front, see the CSS Working Group Web site.

B.50.3. Example

This style rule specifies that lines should be positioned according to a 12pt grid:

div.monospaced {
  layout-grid-line: 12pt;
}

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.175.182