CSS unicode-bidi property
Example
Override text:
div
{
direction:
rtl
;
unicode-bidi:
bidi-override
;
}
Try it »
Browser support
The numbers in the table indicate the first browser version that supports this property.
| property | |||||
|---|---|---|---|---|---|
| unicode-bidi | 2.0 | 5.5 | 1.0 | 1.3 | 9.2 |
Definition and Usage
The unicode-bidi property and direction the property to set or return whether the text is overridden, in order to support multiple languages in the same document.
| Default value: | normal |
|---|---|
| Inherited: | Is |
| Animatable: | No. See Animatable. |
| Version: | CSS2 |
| JavaScript syntax: | object.style.unicodeBidi="bidi-override" Try it |
CSS Syntax
unicode-bidi: normal|embed|bidi-override|initial|inherit;
Attribute values
| Value | Description | Testing |
|---|---|---|
| normal | Default. No additional embedding level is used. | Test » |
| embed | Creates an additional embedding level. | Test » |
| bidi-override | Creates an additional embedding level. The reordering depends on the direction property. | Test » |
| initial | Sets this property to its default value. See initial. | Test » |
| inherit | Inherits this property from its parent element. See inherit. |
Related Articles
CSS tutorial:CSS Text
HTML DOM Reference Manual:unicodeBidi property
CSS Reference Manual