XML technologies / CSS / Advanced websites with CSS / CSS property reference / layout-grid-line

(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)

East Asian languages require characters to be arranged in a grid. The property layout-grid-line is not part of the CSS standard and defines the size of a grid row. layout-grid-line is used as an alternative to layout-grid-char.

For this property to have a visible effect, layout-grid-mode must be declared with line or both.

Inherited: Yes

See also: layout-grid and layout-grid-mode

Values

A CSS measurement, a percentage of the parent element’s width, or the constants auto (uses the character occupying the most space as the grid size) or none (the element is not placed in a grid).

Default value: none

Compatibility

CSS version: not part of the CSS standard

Works only in Internet Explorer for Windows from version 5.

Corresponding functionality is planned for CSS3, although the final property and value names will probably differ. Current information is available on the CSS Working Group website.

Example

The following rule defines a layout grid with a row size of 12 points for all div sections of the class festebreite:

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

  

 

 

 

back to top