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

Contents of /www/test/html/ruby/styling/relative/below-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 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     left: 0;
21     right: 0;
22     top: 1.5em;
23     font-size: 70%;
24     line-height: 1.3;
25     text-align: center;
26     }
27    
28     body {
29     width: 20em;
30     }
31     </style>
32     </head>
33     <body>
34     <p>う瘢雹つくしい<ruby><rb>日本語</rb><rp> (</rp><rt class=secondary>Japanese</rt><rp>) </rp></ruby>の文書。
35     う瘢雹つくしい<ruby><rb>日本語</rb><rp> (</rp><rt class=secondary>Japanese</rt><rp>) </rp></ruby>の文書。
36     う瘢雹つくしい<ruby><rb>日本語</rb><rp> (</rp><rt class=secondary>Japanese</rt><rp>) </rp></ruby>の文書。
37     </body>
38     </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24