B.48. layout-grid

East Asian writing systems generally call for character layout to be performed in a grid. This nonstandard shorthand property lets you set all the properties associated with that grid in a single property declaration.

Inherited: Yes

See also: Section B.48layout-grid-char, Section B.50layout-grid-line, Section B.51layout-grid-mode, and Section B.52layout-grid-type

B.48.1. Value

The format of this property is as follows:

layout-grid: mode
					type
					line
					char
				

The values in square brackets are optional, and have the following meanings:

  • mode is a valid value for layout-grid-mode

  • type is a valid value for layout-grid-type

  • line is a valid value for layout-grid-line

  • char is a valid value for layout-grid-char

Initial value: both loose none none

B.48.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.48.3. Example

This is a basic example of the layout-grid property in use:

div.fullgrid {
  layout-grid: both fixed 12px 12px;
}

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

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