HTML and CSS Reference
In-Depth Information
Note
• Browsers tend to assume pixel measurements if a length unit is not set.
unicode-bidi
This property allows the text direction to be overridden to support multiple languages and
text flow directions in the same document.
Syntax
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.
Example
<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>
Compatibility
CSS 2, 3
IE 4+
Netscape 6+, Firefox 1+
Opera 6+, Safari 1+
Note
• Unicode may limit 61 levels of embedding, so do not nest embed elements deeply.
vertical-align
This property sets the vertical positioning of text and images with respect to the baseline
setting.
Syntax
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