Style unicodeBidi property
- Forrige side transitionDelay
- Næste side userSelect
- Gå tilbage til forrige niveau HTML DOM Style Object
Definition and usage
unicodeBidi
Property with direction property Used together, to set or return whether text should be overridden to support multiple languages in the same document.
See also:
CSS Tutorial:CSS tekst
CSS Reference Manual:unicode-bidi property
Instance
Example 1
Override text in <p> element:
document.getElementById("myP").style.unicodeBidi = "bidi-override";
Example 2
Return unicodeBidi property:
alert(document.getElementById("myP").style.unicodeBidi);
Syntax
Return unicodeBidi property:
object.style.unicodeBidi
Set unicodeBidi property:
object.style.unicodeBidi = "normal|embed|bidi-override|initial|inherit"
Property value
Value | Description |
---|---|
normal | Do not use additional embedding levels. Default. |
embed | Create additional embedding levels. |
bidi-override | Create additional embedding levels. Reordering depends on the direction property. |
initial | Sets this property to its default value. See initial. |
inherit | Inherits this property from its parent element. See inherit. |
Technical details
Default value: | normal |
---|---|
Return value: | A string that represents the embedding level relative to the bidirectional algorithm. |
CSS version: | CSS2 |
browser support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Støtte | Støtte | Støtte | Støtte | Støtte |
- Forrige side transitionDelay
- Næste side userSelect
- Gå tilbage til forrige niveau HTML DOM Style Object