The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's Style Sheets Reference

| Index | Current Category: Text (International) |
| Previous Style: top | Next Style: vertical-align |


unicode-bidi

Determines how bidirectional text maps to the bidirectional algorithm.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 5.0 and later Not supported
Notes:
  • The "bidi" part of this property's name is short for bidirectionality. This means that a page may contain text that runs either left-to-right or right-to-left. The proper "directionality" of the text is determined by the bidirectional algorithm.

See Also:

direction

Possible Values:

bidi-override
Creates a new bidi embedding level that applies to the entire element (text within the element is not ordered according to the bidirectional algorithm).

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 5.0 and later Not supported

Notes:
  • The direction of the text in the new level is determined by the value of the direction property.

embed
Creates a new bidi embedding level, but text within the element is ordered normally according to the bidirectional algorithm.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 5.0 and later Not supported

Notes:
  • The direction of the new level is determined by the value of the direction property.

normal
Uses the normal bidirectional algorithm.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS2 and later 5.0 and later Not supported

Example:
<DIV STYLE="unicode-bidi: embed; direction: rtl">
Which way does this go?
</DIV>
<DIV STYLE="unicode-bidi: bidi-override; direction: rtl">
Which way does this go?
</DIV>
How It Looks:
Which way does this go?
Which way does this go?

| Index | Current Category: Text (International) |
| Previous Style: top | Next Style: vertical-align |