unicode-bidi
unicode-bidi Description:
The unicode-bidi property sets or retrieves the level of embedding with respect to the bidirectional algorithm. In other words, it allows you to change the direction of embedded text within text of a different direction.
unicode-bidi in CSS Versions:
unicode-bidi Syntax:
unicode-bidi: normal | embed | bidi-override | inherit
unicode-bidi Initial Value:
normal
unicode-bidi Applies To:
All elements.
unicode-bidi Inheritance:
This property is not inherited.
unicode-bidi Browser Support:
unicode-bidi media type:
unicode-bidi Examples:
Override the bidirectional algorithm for English
unicode-bidi Special Notes:
Return to the Style Library
The unicode-bidi property sets or retrieves the level of embedding with respect to the bidirectional algorithm. In other words, it allows you to change the direction of embedded text within text of a different direction.
unicode-bidi in CSS Versions:
unicode-bidi Syntax:
unicode-bidi: normal | embed | bidi-override | inherit
- normal
There will not be a new level of embedding opened.
- embed
An additional Unicode embedding level is created, the direction set by the direction property. - bidi-override
The value of the direction overrides the unicode direction. - inherit
The element should have the same unicode-bidi setting as the parent.
unicode-bidi Initial Value:
normal
unicode-bidi Applies To:
All elements.
unicode-bidi Inheritance:
This property is not inherited.
unicode-bidi Browser Support:
unicode-bidi media type:
- Visual
unicode-bidi Examples:
Override the bidirectional algorithm for English
<p> This text is left to right<span style="direction:rtl;unicode-bidi:bidi-override;">this is right to left</span> </p>
unicode-bidi Special Notes:
- With a normal unicode-bidi setting, the browser will display the content in the direction of the language, even if you set the direction to the opposite.
More unicode-bidi Information
Return to the Style Library
Source...