css 3

Icon

A comprehensive CSS 3 reference guide, tutorial, and blog
Are you a CSS expert? Want to contribute? Contact us

CSS LAYOUT-GRID-CHAR-SPACING

Asian languages often employ page layout for characters for better visual formatting using a one or two-dimensional grid. This property controls the character spacing granularity when the ‘layout-grid-mode’ is set to ‘char’ or ‘both’, and the ‘layout-grid-type’ property is set to ‘loose’. Visually, this property has an effect similar to the ‘line-height’ property.

 

Example

div { layout-grid-mode: both; layout-grid-type: loose; layout-grid-char-spacing: 15px }

<div style=”layout-grid-mode: both; layout-grid-type: loose;
layout-grid-char-spacing: 15px”>Content snapped to a layout grid</div>

 

Possible Values

Value Description
auto The largest character in the font for the current element is used to determine the character grid spacing.
[length] Refers to either an absolute measurement or a relative measurement based on the current element’s font size.
[percentage] The percentage is relative to the height/width of the parent element.

 

One Response

  1. [...] E important de stiut ca proprietatile pot avea nume compuse din mai mult de doua elemente, de exemplu border-bottom-style. CSS3 aduce multe astfel de nume compuse, chiar cu patru elemente. [...]

Leave a Reply

Pages

Sponsors

$100 PSD to XHTML. CONTACT US FOR MORE INFORMATION


CSS3.com



Please help CSS3.com stay alive and running

Bad Behavior has blocked 973 access attempts in the last 7 days.