Application and implication of CSS Unicode-bidi properties

Source: Internet
Author: User
Tags sorts
Unicode-bidi setting the embedding associated with the bidirectional algorithm

Grammar:

Unicode-bidi:normal | Bidi-override | Embed

Parameters:

Normal: Object does not open an additional embedded layer, and implicitly re-sorts work across object boundaries for inline features
Embed: Object opens an additional embedded layer, the value of the direction property specifies the embedding layer, and an implicit reordering within the object
Bidi-override: Sorts the values strictly according to the direction property. Ignore implicit bidirectional arithmetic rules

Description

Used to display text that is read in different directions on the same page. Used with the direction property.
If you want to apply the direction property to inline text, you must set the Unicode-bidi property to embed or bidi-override.
The corresponding script attribute is Unicodebidi. Please refer to the other bibliography I have written.

Example:

p {direction:rtl; unicode-bidi:bidi-override;}

Annotations
The Unicode-bidi property is used with the direction property.
The Unicode bidirectional algorithm automatically reverses the embedded character sequence in its inherent direction. For example, the basic direction of an English document is from left to right. If multiple parts of a paragraph in a document contain languages that are read from right to left, the orientation of the language is correctly displayed as right-to-left. Browsers that apply a bidirectional algorithm correctly reverse the direction of that language.
Standard Information
This property is defined in cascading style Sheets (CSS), Level 2 (CSS2) (Cascading style sheet (CSS), level 2nd (CSS2)).
Applied to

a, ABBR, acronym, address, B, BDO, big, blockquote, Body, button, caption, center, CI TE, code, col, Colgroup, Custom, DD, defaults, Del, DFN, p, DL, DT, EM, embed, fieldset, font, form, HN, I, IMG, input Typ  E=button, input type=checkbox, input type=file, input type=image, input type=password, input type=radio, input type=reset, Input type=submit, input type=text, ins, Li, Object, OL, option, p, Q, RT, Ruby, S, select, span, sub, table, TBODY, TD, TFOOT, Th, THEAD, tr, TT, U, UL, Var, XMP 
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.