/[suikacvs]/www/test/html/ruby/styling/relative/above-1.html
Suika

Contents of /www/test/html/ruby/styling/relative/above-1.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download) (as text)
Sat May 31 05:14:41 2008 UTC (18 years, 1 month ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/html
New

1 wakaba 1.1 <!DOCTYPE HTML>
2     <html>
3     <head>
4     <title>Ruby styling approximation by position: relative</title>
5     <style>
6     p {
7     line-height: 2;
8     }
9     ruby {
10     display: inline;
11     ruby-position: inline; /* disable WinIE ruby rendering */
12     position: relative;
13     }
14     ruby rp {
15     display: none;
16     }
17     ruby rt {
18     display: block;
19     position: absolute;
20     bottom: 1.8em;
21     left: 0;
22     right: 0;
23     font-size: 70%;
24     line-height: 1.1;
25     text-align: center;
26     }
27     </style>
28     </head>
29     <body>
30     <p>う瘢雹つくしい<ruby><rb>日本語</rb><rp> (</rp><rt>にほんご</rt><rp>) </rp></ruby>の文書。</p>
31     </body>
32     </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24