HTML and CSS Reference
In-Depth Information
ruby-position
This property defines the position of ruby text as defined by a
<rt>
tag, in relation to base
text defined by a
<ruby>
tag.
Syntax
ruby-position: above | inline
where the common value is
above
and a value of
inline
runs the guide text after the item.
Examples
<p>
ruby-position:above
<ruby style="ruby-position: above;">
日本語
<rp>
(
</rp><rt>
にほんご
</rt><rp>)</rp></ruby></p>
<p>
ruby-position: inline
<ruby style="ruby-position: inline;">
日本語
<rp>
(
</rp><rt>
にほんご
</rt><rp>
)
</rp></ruby></p>
Compatibility
CSS3
IE 5+
Note
• This property would be correctly written as
-ms-ruby-position
under IE 8, but
for some reason the documentation does not indicate this.
scrollbar-3dlight-color
This property is used to define a color for the top and left edges of the scroll box in
a scroll bar.
Syntax
scrollbar-3dlight-color:
color
where
color
is a standard CSS color value like
#f00
,
red
, and so on.
Example
<!-- space intentional for scroll bars -->
<form>
<div>
<textarea rows="1" cols="20" style="scrollbar-3dlight-color: red;">
</textarea>
</div>
</form>