B.52. layout-grid-type

East Asian writing systems generally call for character layout to be performed in a grid. Different East Asian languages have different conventions as to which characters should be aligned to the grid. This property lets you set the convention to use.

For full details on this property, see the reference page at MSDN.

Inherited: Yes

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

B.52.1. Value

Any one of the following constants:

  • fixed

  • loose

  • strict

Initial value: loose

B.52.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.52.3. Example

This style rule sets span elements with the attribute lang="jp" to use a strict layout grid:

span[lang=jp] {
  layout-grid-type: strict;
}

Note that since Internet Explorer for Windows doesn't currently support attribute selectors, this style rule has no practical use.

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

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