aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/css/table-layout/index.html
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2021-10-09 22:39:12 +0900
committerMasahiro FUJIMOTO <mfujimot@gmail.com>2021-10-17 22:10:01 +0900
commit917fef255d0560b9fc26c80a7bfed6cecf6ad5fc (patch)
treeb89b539f58a3b198e5ced0e71be72067c25c7a5f /files/ja/web/css/table-layout/index.html
parent3b0732b3447f1083a9287e5dfb3d5f95823042b6 (diff)
downloadtranslated-content-917fef255d0560b9fc26c80a7bfed6cecf6ad5fc.tar.gz
translated-content-917fef255d0560b9fc26c80a7bfed6cecf6ad5fc.tar.bz2
translated-content-917fef255d0560b9fc26c80a7bfed6cecf6ad5fc.zip
Web/CSS/table-layout の変換準備
Diffstat (limited to 'files/ja/web/css/table-layout/index.html')
-rw-r--r--files/ja/web/css/table-layout/index.html104
1 files changed, 0 insertions, 104 deletions
diff --git a/files/ja/web/css/table-layout/index.html b/files/ja/web/css/table-layout/index.html
deleted file mode 100644
index 8df6fb10d4..0000000000
--- a/files/ja/web/css/table-layout/index.html
+++ /dev/null
@@ -1,104 +0,0 @@
----
-title: table-layout
-slug: Web/CSS/table-layout
-tags:
- - CSS
- - CSS プロパティ
- - CSS 表
- - Reference
- - ウェブ
- - レイアウト
-translation_of: Web/CSS/table-layout
----
-<div>{{CSSRef}}</div>
-
-<p>CSS の <strong><code>table-layout</code></strong> プロパティは、 {{htmlelement("table")}} のセル、行、列のレイアウトに使用されるアルゴリズムを設定します。</p>
-
-<div>{{EmbedInteractiveExample("pages/css/table-layout.html")}}</div>
-
-<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</p>
-
-<h2 id="Syntax" name="Syntax">構文</h2>
-
-<pre class="brush:css no-line-numbers">/* キーワード値 */
-table-layout: auto;
-table-layout: fixed;
-
-/* グローバル値 */
-table-layout: inherit;
-table-layout: initial;
-table-layout: unset;
-</pre>
-
-<h3 id="Values" name="Values">値</h3>
-
-<dl>
- <dt>{{Cssxref("auto")}}</dt>
- <dd>既定値で、ほとんどのブラウザーが表の自動レイアウトアルゴリズムを使用します。表とセルの幅は中身に合うように調整されます。</dd>
- <dt><code>fixed</code></dt>
- <dd>表と列の幅は <code>table</code> 要素と <code>col</code> 要素の幅によって、または最初の行のセルの幅によって設定されます。後続する行のセルは列幅の設定に影響しません。</dd>
- <dd>"fixed" レイアウト方法に於いては、一度テーブルの一行目のみをダウンロードして解析した後、テーブル全体をレンダリングします。これは自動テーブルレイアウトアルゴリズムよりレンダリング速度を速くする事が出来ますが、後続するセルのコンテンツが用意された列幅に収まらないかもしれません。セルは {{Cssxref("overflow")}} プロパティを使用して、表の幅が分かっている場合、はみ出すコンテンツを切り取るかどうかを定めます。そうでなければ、セルははみ出しません。</dd>
-</dl>
-
-<h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3>
-
-{{csssyntax}}
-
-<h2 id="Example" name="Example">例</h2>
-
-<p>この例は表の固定レイアウトを使用し、 {{cssxref("width")}} プロパティとの組み合わせで、表の幅を制限しています。 {{cssxref("text-overflow")}} プロパティを使用して、語が長すぎる場合は省略記号を使用するようにしています。</p>
-
-<p>表のレイアウトが <code>auto</code> である場合、表は指定された <code>width</code> よりも内容に合わせて広がります。</p>
-
-<h3 id="HTML">HTML</h3>
-
-<pre class="brush: html">&lt;table&gt;
- &lt;tr&gt;&lt;td&gt;Ed&lt;/td&gt;&lt;td&gt;Wood&lt;/td&gt;&lt;/tr&gt;
- &lt;tr&gt;&lt;td&gt;Albert&lt;/td&gt;&lt;td&gt;Schweitzer&lt;/td&gt;&lt;/tr&gt;
- &lt;tr&gt;&lt;td&gt;Jane&lt;/td&gt;&lt;td&gt;Fonda&lt;/td&gt;&lt;/tr&gt;
- &lt;tr&gt;&lt;td&gt;William&lt;/td&gt;&lt;td&gt;Shakespeare&lt;/td&gt;&lt;/tr&gt;
-&lt;/table&gt;</pre>
-
-<h3 id="CSS">CSS</h3>
-
-<pre class="brush: css">table {
- table-layout: fixed;
- width: 120px;
- border: 1px solid red;
-}
-
-td {
- border: 1px solid blue;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
-}</pre>
-
-<h3 id="Result">Result</h3>
-
-<p>{{EmbedLiveSample('Example')}}</p>
-
-<h2 id="Specifications" name="Specifications">仕様書</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">仕様書</th>
- <th scope="col">状態</th>
- <th scope="col">備考</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName('CSS2.1', 'tables.html#width-layout', 'table-layout')}}</td>
- <td>{{Spec2('CSS2.1')}}</td>
- <td>初回定義</td>
- </tr>
- </tbody>
-</table>
-
-<p>{{cssinfo}}</p>
-
-<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2>
-
-<p>{{Compat("css.properties.table-layout")}}</p>