1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
\r
2 <html xmlns:v="urn:schemas-microsoft-com:vml"><!-- InstanceBegin template="/Templates/base.dwt" codeOutsideHTMLIsLocked="false" -->
\r
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
\r
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
\r
6 <meta http-equiv="Content-Language" content="ja">
\r
7 <meta http-equiv="Content-Script-Type" content="text/javascript">
\r
8 <meta http-equiv="Content-Style-Type" content="text/css">
\r
9 <meta http-equiv="imagetoolbar" content="no">
\r
10 <link rel="stylesheet" type="text/css" href="../stylesheets/common.css">
\r
11 <!-- InstanceBeginEditable name="doctitle" -->
\r
12 <title>Comic 用 html構造テスト | pettanR</title>
\r
13 <!-- InstanceEndEditable -->
\r
14 <!-- InstanceBeginEditable name="head" -->
\r
15 <style type="text/css">
\r
17 --------------------------------------------------------------------------------------*/
\r
18 .test1-pettanr-comic-wrapper {
\r
21 .test1-pettanr-comic-panel {
\r
22 border-style: solid;
\r
28 .test1-pettanr-comic-panel img,
\r
29 .test1-pettanr-comic-balloon {
\r
32 .test1-pettanr-comic-balloon img {
\r
36 .test1-pettanr-comic-balloon .test1-pettanr-comic-speach {
\r
38 table-layout: fixed;
\r
45 margin: 0 !important;
\r
47 .test1-pettanr-comic-speach tbody,
\r
48 .test1-pettanr-comic-speach tr,
\r
49 .test1-pettanr-comic-speach td {
\r
54 margin: 0 !important;
\r
55 vertical-align: middle;
\r
61 --------------------------------------------------------------------------------------*/
\r
62 .test2-pettanr-comic-wrapper {
\r
65 .test2-pettanr-comic-panel {
\r
66 border-style: solid;
\r
72 .test2-pettanr-comic-panel img {
\r
75 .test2-pettanr-comic-balloon {
\r
78 .test2-pettanr-comic-balloon img {
\r
83 .test2-pettanr-comic-balloon div {
\r
90 .test2-pettanr-comic-balloon div p {
\r
91 display: table-cell;
\r
92 vertical-align: middle;
\r
94 margin: 0 !important;
\r
95 padding: 0 !important;
\r
96 *position: absolute;
\r
99 .test2-pettanr-comic-balloon div p span {
\r
102 *position: relative;
\r
106 --------------------------------------------------------------------------------------*/
\r
107 .test3-pettanr-comic-wrapper {
\r
110 .test3-pettanr-comic-panel {
\r
111 border-style: solid;
\r
112 border-color: #111;
\r
113 position: relative;
\r
117 .test3-pettanr-comic-panel img {
\r
118 position: absolute;
\r
121 .test3-pettanr-comic-balloon {
\r
122 position: absolute;
\r
124 .test3-pettanr-comic-balloon img {
\r
125 position: absolute;
\r
129 .test3-pettanr-comic-balloon p {
\r
130 margin: 0 !important;
\r
131 padding: 0 !important;
\r
133 position: absolute;
\r
139 *top: 50% !important;
\r
141 .test3-pettanr-comic-balloon p span {
\r
142 display: table-cell;
\r
143 vertical-align: middle;
\r
144 text-align: center;
\r
147 *position: relative;
\r
151 <!-- InstanceEndEditable -->
\r
155 <div id="general-content">
\r
156 <div id="outer-wrapper">
\r
159 <div class="base-content-width" style="position:relative;">
\r
160 <h1><a href="../index.html">pettanR</a></h1>
\r
161 <!-- global navi -->
\r
162 <div id="global-navi">
\r
163 <noscript id="noscript-alert">You need to have JavaScript enabled.</noscript>
\r
168 <div id="inner-wrapper" class="base-content-width">
\r
169 <!-- InstanceBeginEditable name="main_content" -->
\r
171 <div id="breadcrumb"><a href="index.html">テスト インデックス</a> > コミック用 html 構造のテスト</div>
\r
172 <h2>マンガ状コンテンツを表示するための html + css の調査</h2>
\r
173 <p>html 4.01 + css 2.1 で pettanR コミックを表示するための html 構造のテストページです.</p>
\r
174 <p>ぺったんR 仕様の html によるコミック状表示が可能なブラウザはどれか?このページを表示させつつ判断します.</p>
\r
175 <p>このページでは js を使用していないため ベクター画像の置き換えは行われず、反転画像はサーバのものが読み込まれます.</p>
\r
177 <h2><table> を使ったテキストの上下中央配置</h2>
\r
178 <p><table> タグを使ったレイアウトは多くのブラウザで意図した表示が期待できるが、html 文書としてはよろしくない.</p>
\r
179 <div class="test1-pettanr-comic-wrapper" style="width: 400px;">
\r
180 <div class="test1-pettanr-comic-panel" style="border-width: 2px; height: 235px;">
\r
181 <img src="../resource_pictures/1.png" width="166" height="252" style="left: 178px; top: -2px; z-index: 0;">
\r
182 <div class="test1-pettanr-comic-balloon" style="width: 200px; height: 160px; left: -29px; top: 39px; z-index: 1;">
\r
183 <img src="../system_pictures/_w5.gif">
\r
184 <table class="test1-pettanr-comic-speach"><tr><td>ぺったんR 仕様の html によるコミック状表示が可能なブラウザはどの範囲か?</td></tr></table>
\r
186 <div class="test1-pettanr-comic-balloon" style="width: 100px; height: 80px; left: 300px; top: 80px; z-index: 2;">
\r
187 <img src="../system_pictures/_w19.gif">
\r
188 <table class="test1-pettanr-comic-speach"><tr><td>さて?</td></tr></table>
\r
193 <p>NN9, firefox 3.6, ie5.5, ie6, ie7, Iron5, Opera10, opera8</p>
\r
196 <p>パネルピクチャはひとつの <img> タグで表示されます.</p>
\r
197 <p>バルーンは、位置とサイズを決めるための <div> の中に吹きだし画像のための <img> と テキストを上下中央配置するための <table> からなる.</p>
\r
199 <div class="test1-pettanr-comic-wrapper" style="width: 400px;">
\r
200 <div class="test1-pettanr-comic-panel" style="border-width: 2px; height: 235px;">
\r
201 <img src="../resource_pictures/1.png" width="166" height="252" style="left: 178px; top: -2px; z-index: 0;">
\r
202 <div class="test1-pettanr-comic-balloon" style="width: 200px; height: 160px; left: -29px; top: 39px; z-index: 1;">
\r
203 <img src="../system_pictures/_w5.gif">
\r
204 <table class="test1-pettanr-comic-speach"><tr><td>ぺったんR 仕様の html によるコミック状表示が可能なブラウザはどの範囲か?</td></tr></table>
\r
206 <div class="test1-pettanr-comic-balloon" style="width: 100px; height: 80px; left: 300px; top: 80px; z-index: 2;">
\r
207 <img src="../system_pictures/_w19.gif">
\r
208 <table class="test1-pettanr-comic-speach"><tr><td>さて?</td></tr></table>
\r
215 .test1-pettanr-comic-wrapper {
\r
218 .test1-pettanr-comic-panel {
\r
219 border-style: solid;
\r
220 border-color: #111;
\r
221 position: relative;
\r
225 .test1-pettanr-comic-panel img,
\r
226 .test1-pettanr-comic-balloon {
\r
227 position: absolute;
\r
229 .test1-pettanr-comic-balloon .test1-pettanr-comic-speach {
\r
230 position: absolute;
\r
231 table-layout: fixed;
\r
238 margin: 0 !important;
\r
240 .test1-pettanr-comic-speach tbody,
\r
241 .test1-pettanr-comic-speach tr,
\r
242 .test1-pettanr-comic-speach td {
\r
247 margin: 0 !important;
\r
248 vertical-align: middle;
\r
253 <h2>css:table-cell を使ったテキストの上下中央配置 及びクロスブラウザ対応 タグの少ないバージョン</h2>
\r
254 <p>html タグ構造は 先の <table> レイアウトに比べて自然.しかし <code>display:table-cell</code> などを使うため、より広範なブラウザに対応する、という点で不安が残る.</p>
\r
255 <div class="test3-pettanr-comic-wrapper" style="width: 400px;">
\r
256 <div class="test3-pettanr-comic-panel" style="border-width: 2px; height: 235px;">
\r
257 <img src="../resource_pictures/1.png" width="166" height="252" style="left: 178px; top: -2px; z-index: 0;">
\r
258 <div class="test3-pettanr-comic-balloon" style="width: 200px; height: 160px; left: -29px; top: 39px; z-index: 1;">
\r
259 <img src="../system_pictures/_w5.gif">
\r
260 <p><span>ぺったんR 仕様の html によるコミック状表示が可能なブラウザはどの範囲か?</span></p>
\r
262 <div class="test3-pettanr-comic-balloon" style="width: 100px; height: 80px; left: 300px; top: 80px; z-index: 2;">
\r
263 <img src="../system_pictures/_w19.gif">
\r
264 <p><span>さて?</span></p>
\r
269 <p>NN9, firefox 3.6, ie5.5, ie6, ie7, Iron5, Opera10, opera8</p>
\r
272 <p>パネルピクチャはひとつの <img> タグで表示されます.</p>
\r
273 <p>バルーンは、位置とサイズを決めるための <div> の中に吹きだし画像のための <img> と テキストを上下中央配置するための <p> と <span> からなる.</p>
\r
275 <div class="test3-pettanr-comic-wrapper" style="width: 400px;">
\r
276 <div class="test3-pettanr-comic-panel" style="border-width: 2px; height: 235px;">
\r
277 <img src="../resource_pictures/1.png" width="166" height="252" style="left: 178px; top: -2px; z-index: 0;">
\r
278 <div class="test3-pettanr-comic-balloon" style="width: 200px; height: 160px; left: -29px; top: 39px; z-index: 1;">
\r
279 <img src="../system_pictures/_w5.gif">
\r
280 <p><span>ぺったんR 仕様の html によるコミック状表示が可能なブラウザはどの範囲か?</span></p>
\r
282 <div class="test3-pettanr-comic-balloon" style="width: 100px; height: 80px; left: 300px; top: 80px; z-index: 2;">
\r
283 <img src="../system_pictures/_w19.gif">
\r
284 <p><span>さて?</span></p>
\r
291 .test3-pettanr-comic-wrapper {
\r
294 .test3-pettanr-comic-panel {
\r
295 border-style: solid;
\r
296 border-color: #111;
\r
297 position: relative;
\r
301 .test3-pettanr-comic-panel img {
\r
302 position: absolute;
\r
305 .test3-pettanr-comic-balloon {
\r
306 position: absolute;
\r
308 .test3-pettanr-comic-balloon img {
\r
309 position: absolute;
\r
313 .test3-pettanr-comic-balloon p {
\r
314 margin: 0 !important;
\r
315 padding: 0 !important;
\r
317 position: absolute;
\r
323 *top: 50% !important;
\r
325 .test3-pettanr-comic-balloon p span {
\r
326 display: table-cell;
\r
327 vertical-align: middle;
\r
328 text-align: center;
\r
331 *position: relative;
\r
337 <h2>css:table-cell を使ったテキストの上下中央配置 及びクロスブラウザ対応</h2>
\r
338 <p>table-cell 及び クロスブラウザ対応</p>
\r
339 <div class="test2-pettanr-comic-wrapper" style="width: 400px;">
\r
340 <div class="test2-pettanr-comic-panel" style="border-width: 2px; height: 235px;">
\r
341 <img src="../resource_pictures/1.png" width="166" height="252" style="left: 178px; top: -2px; z-index: 0;">
\r
342 <div class="test2-pettanr-comic-balloon" style="width: 200px; height: 160px; left: -29px; top: 39px; z-index: 1;">
\r
343 <img src="../system_pictures/_w5.gif">
\r
344 <div><p><span>ぺったんR 仕様の html によるコミック状表示が可能なブラウザはどの範囲か?</span></p></div>
\r
346 <div class="test2-pettanr-comic-balloon" style="width: 100px; height: 80px; left: 300px; top: 80px; z-index: 2;">
\r
347 <img src="../system_pictures/_w19.gif">
\r
348 <div><p><span>さて?</span></p></div>
\r
353 <p>NN9, firefox 3.6, ie6</p>
\r
356 <!-- InstanceEndEditable -->
\r
361 <div id="footer-content"><!-- #BeginLibraryItem "/Library/footer.lbi" -->
\r
364 <div id="footer-item-container" class="base-content-width clearfix">
\r
365 <div class="footer-item-wrapper">
\r
366 <div class="footer-item">
\r
367 <h2>ぺったんR にようこそ</h2>
\r
375 <li><a href="index.html">Test Index</a></li>
\r
379 <div class="footer-item-wrapper">
\r
380 <div class="footer-item">
\r
383 <li><a href="http://sourceforge.jp/projects/pettanr/wiki/ForAuthors" rel="me" target="_blank">作家向けドキュメント</a></li>
\r
384 <li>絵師向けドキュメント</li>
\r
385 <li><a href="http://sourceforge.jp/projects/pettanr/wiki/ForDevelopers" rel="me" target="_blank">開発者向けドキュメント</a></li>
\r
386 <li><a href="http://sourceforge.jp/projects/pettanr/wiki/ForWebmasters" rel="me" target="_blank">編集長向けドキュメント</a></li>
\r
390 <div class="footer-item-wrapper">
\r
391 <div class="footer-item">
\r
394 <li><a href="http://pettanr.heroku.com/" rel="me" target="_blank">pettanr.heroku.com</a></li>
\r
395 <li><a href="../work.html" rel="console">ユーザーコンソール</a></li>
\r
397 <h2>Ajax contents</h2>
\r
399 <li><a href="../help/jp.xml">help | jp</a></li>
\r
403 <div class="footer-item-wrapper" style="width:170px;">
\r
404 <div class="footer-item" style="padding-right:0;">
\r
409 <li><a href="../diary/itozyun.xml">itozyun's diary</a></li>
\r
417 <div id="copyright">Copyright (c) 2011-2012 pettanR team, some rights reserved.</div>
\r
418 </div><!-- #EndLibraryItem -->
\r
420 <script type="text/javascript" src="../javascripts/common.js"></script>
\r
421 <!-- InstanceBeginEditable name="script" -->
\r
422 <!-- InstanceEndEditable -->
\r
424 <!-- InstanceEnd --></html>
\r