The use of Layout-grid-char attributes in CSS

Source: Internet
Author: User
Grammar:

Layout-grid-char:none | Auto | Length

Parameters:

None: Row grid values are not specified
Auto: Determines the grid by maximum characters in the object text
Length: Percent | A length value consisting of a floating-point number and a unit identifier whose percentage value is based on the parent object size. See Length Units

Description

Sets or retrieves the character grid values applied to the object text.
To implement this property, Layout-grid-mode must be set to char or both.
Its visual effect is similar to the Line-height property. Applies only to block objects (such as Div).
Its visual effect is similar to the Line-height property.
Documents written in East Asian languages (such as Chinese, Japanese) typically use the page layout of characters based on one-dimensional or two-dimensional meshes. You can use the Layout-grid property to add this layout to a Web page document.
This property applies only to block objects (such as Div).
For this property to work, the Layout-grid-mode property value must be set to line or both.
This property is read-only for Currentstyle objects. Readable and writable for other objects.
The corresponding script attribute is Layoutgridchar.
Example:

div {Layout-grid-char:auto;}
Layout-grid-char:none;            Layout-grid-line:none;            Layout-grid-mode:none;            Layout-grid-type:loose;

Why is the hint not a known CSS property name

This does not affect the effect bar, overflow-x, OVERFLOW-Y also hint but the effect is still out

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.