unicode-bidi property
Specifies whether the text should be overridden to support multiple languages in the same document. Use with the direction property.
This property can override the Unicode standard algorithm of the browser that determines how text should appear
when the page contains both RTL (right-to-left) and LTR (left-to-right) text.
JavaScript page for this property: unicodeBidi. You can find other example(s) there. |
Possible values:
One of the following values:
Creates an additional level of embedding, but the reordering inside the element depends on the value of the 'direction' property. | |||||||
Creates an additional level of embedding. | |||||||
Takes the value of this property from the computed style of the parent element. | |||||||
Default. Does not use an additional level of embedding. |
Default: normal.
Example HTML code 1:
This example illustrates the use of the unicode-bidi property:
|
||||
<head> <style> .normal { unicode-bidi: normal; direction: rtl; } .override { unicode-bidi: bidi-override; direction: rtl; } </style> </head> <body> <p class="normal"> Unicode bidi is normal </p> <p class="override"> Unicode bidi is bidi-override </p> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
a, abbr, acronym, address, applet, b, bdo, big, blink, blockQuote, body, button, caption, center, cite, code, col, colGroup, dd, del, dfn, dir, div, dl, dt, em, embed, fieldSet, font, form, H1, H2, H3, H4, H5, H6, hr, html, i, iframe, img, input:button, input:checkbox, input:file, input:image, input:password, input:radio, input:range, input:reset, input:search, input:submit, input:text, ins, isIndex, kbd, label, legend, li, listing, marquee, menu, nobr, object, ol, optGroup, option, p, plainText, pre, q, rt, ruby, s, samp, select, small, span, strike, strong, sub, sup, table, tBody, td, textArea, tFoot, th, tHead, tr, tt, u, ul, var, xmp
Related pages:
direction
ime-mode
layout-flow
layout-grid
layout-grid-char
layout-grid-line
layout-grid-mode
layout-grid-type
ruby-align
ruby-overhang
ruby-position
text-justify
text-kashida-space
ime-mode
layout-flow
layout-grid
layout-grid-char
layout-grid-line
layout-grid-mode
layout-grid-type
ruby-align
ruby-overhang
ruby-position
text-justify
text-kashida-space
External links:
unicode-bidi (MSDN)
unicode-bidi (Mozilla Developer Center)
unicode-bidi (Safari Reference Library)
unicode-bidi (W3C)
unicode-bidi (Mozilla Developer Center)
unicode-bidi (Safari Reference Library)
unicode-bidi (W3C)
User Contributed Comments