HTML and CSS Reference
In-Depth Information
• Browsers tend to assume pixel measurements if a length unit is not set.
This property allows the text direction to be overridden to support multiple languages and
text flow directions in the same document.
unicode-bidi: bidi-override | embed | normal| inherit
The value normal uses the standard direction and rendering. A value of embed allows a
new level of embedding to change direction, while bidi-override allows the direction
property to override any predefined direction.
<div> I was normal and suddenly <span style="unicode-bidi: embed;
direction: rtl; background-color: yellow;"> here doing I am What! </span>
This is the end of the test. </div>
CSS 2, 3
IE 4+
Netscape 6+, Firefox 1+
Opera 6+, Safari 1+
• Unicode may limit 61 levels of embedding, so do not nest embed elements deeply.
This property sets the vertical positioning of text and images with respect to the baseline
vertical-align: baseline | bottom | middle | sub | super | text-bottom |
text-top | top | percentage | length | inherit
A value of top aligns the top of text or images with the top of the tallest element, relative to
the baseline. A value of text-top aligns the top of text or images with the top of the font in
the containing element, while text-bottom aligns things with the bottom of the font. A
value of middle aligns the middle of text or images to the middle of the x-height of the
containing element. A value of bottom aligns the bottom of text or images with the bottom of
the lowest element, relative to the baseline. The sub and super values provide subscript and
superscript style. Positive and negative percentages and length values can be used, with
positive values raising the text and negative values lowering the text relative to the baseline.
The default value is baseline , which is also equivalent to 0 or 0%.
Search WWH ::

Custom Search