From 647f2074063d41b629dfab8a38496793512fe635 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Fri, 29 Oct 2021 00:43:43 +0900 Subject: CSS Table 関係の文書の変換準備 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/ja/web/css/caption-side/index.html | 140 ------------------------------- files/ja/web/css/caption-side/index.md | 140 +++++++++++++++++++++++++++++++ 2 files changed, 140 insertions(+), 140 deletions(-) delete mode 100644 files/ja/web/css/caption-side/index.html create mode 100644 files/ja/web/css/caption-side/index.md (limited to 'files/ja/web/css/caption-side') diff --git a/files/ja/web/css/caption-side/index.html b/files/ja/web/css/caption-side/index.html deleted file mode 100644 index 5b95a7c75e..0000000000 --- a/files/ja/web/css/caption-side/index.html +++ /dev/null @@ -1,140 +0,0 @@ ---- -title: caption-side -slug: Web/CSS/caption-side -tags: - - CSS - - CSS Property - - CSS Tables - - Reference -translation_of: Web/CSS/caption-side ---- -
{{CSSRef}}
- -

caption-side は、表 ({{htmlelement("table")}}) の {{HTMLElement("caption")}} の配置位置を指定する CSS プロパティです。

- -
{{EmbedInteractiveExample("pages/css/caption-side.html")}}
- - - -

{{cssinfo}}

- -

構文

- -
/* 方向を示す値 */
-caption-side: top;
-caption-side: bottom;
-
-/* 警告: 非標準の値 */
-caption-side: left;
-caption-side: right;
-caption-side: top-outside;
-caption-side: bottom-outside;
-
-/* グローバル値 */
-caption-side: inherit;
-caption-side: initial;
-caption-side: unset;
-
- -

このプロパティの値は、表の {{cssxref('writing-mode')}} に対して相対的です。

- -

- -
-
top
-
キャプションボックスを表の上に配置することを示すキーワードです。
-
bottom
-
キャプションボックスを表の下に配置することを示すキーワードです。
-
left {{non-standard_inline}}
-
キャプションボックスを表の左に配置することを示すキーワードです。
-
{{Note("この値は CSS 2 で提案されましたが、最終的な CSS 2.1 仕様から削除されており、非標準です。")}}
-
right {{non-standard_inline}}
-
キャプションボックスを表の右に配置することを示すキーワードです。
-
{{Note("この値は CSS 2 で提案されましたが、最終的な CSS 2.1 仕様から削除されており、非標準です。")}}
-
top-outside {{non-standard_inline}}
-
キャプションボックスを表の上に配置することを示すキーワードです。ただし、キャプションの幅や水平方向の配置は、表の水平方向のレイアウトに束縛されません。
- {{Note("CSS 2.1 仕様では、CSS 2 仕様で値 top について異なる動作を説明していたとの注記があります。この動作は将来の仕様書で、この値を使用して再導入する予定です。")}}
-
bottom-outside {{non-standard_inline}}
-
キャプションボックスを表の下に配置することを示すキーワードです。ただし、キャプションの幅や水平方向の配置は、表の水平方向のレイアウトに束縛されません。
- {{Note("CSS 2.1 仕様では、CSS 2 仕様で値 bottom について異なる動作を説明していたとの注記があります。この動作は将来の仕様書で、この値を使用して再導入する予定です。")}}
-
- -

形式構文

- -{{csssyntax}} - -

- -

HTML

- -
<table class="top">
-  <caption>Caption ABOVE the table</caption>
-  <tr>
-    <td>Some data</td>
-    <td>Some more data</td>
-  </tr>
-</table>
-
-<br>
-
-<table class="bottom">
-  <caption>Caption BELOW the table</caption>
-  <tr>
-    <td>Some data</td>
-    <td>Some more data</td>
-  </tr>
-</table>
-
- -

CSS

- -
.top caption {
-  caption-side: top;
-}
-
-.bottom caption {
-  caption-side: bottom;
-}
-
-table {
-  border: 1px solid red;
-}
-
-td {
-  border: 1px solid blue;
-}
-
- -

出力

- -

{{EmbedLiveSample('Examples')}}

- -

仕様

- - - - - - - - - - - - - - - - - - - - - -
仕様書策定状況コメント
{{SpecName('CSS Logical Properties', '#caption-side', 'caption-side')}}{{Spec2('CSS Logical Properties')}}top および bottom は、writing-mode の値に対して相対的であることを定義
{{SpecName('CSS2.1', 'tables.html#caption-position', 'caption-side')}}{{Spec2('CSS2.1')}}最初の定義
- -

ブラウザ実装状況

- - - -

{{Compat("css.properties.caption-side")}}

diff --git a/files/ja/web/css/caption-side/index.md b/files/ja/web/css/caption-side/index.md new file mode 100644 index 0000000000..5b95a7c75e --- /dev/null +++ b/files/ja/web/css/caption-side/index.md @@ -0,0 +1,140 @@ +--- +title: caption-side +slug: Web/CSS/caption-side +tags: + - CSS + - CSS Property + - CSS Tables + - Reference +translation_of: Web/CSS/caption-side +--- +
{{CSSRef}}
+ +

caption-side は、表 ({{htmlelement("table")}}) の {{HTMLElement("caption")}} の配置位置を指定する CSS プロパティです。

+ +
{{EmbedInteractiveExample("pages/css/caption-side.html")}}
+ + + +

{{cssinfo}}

+ +

構文

+ +
/* 方向を示す値 */
+caption-side: top;
+caption-side: bottom;
+
+/* 警告: 非標準の値 */
+caption-side: left;
+caption-side: right;
+caption-side: top-outside;
+caption-side: bottom-outside;
+
+/* グローバル値 */
+caption-side: inherit;
+caption-side: initial;
+caption-side: unset;
+
+ +

このプロパティの値は、表の {{cssxref('writing-mode')}} に対して相対的です。

+ +

+ +
+
top
+
キャプションボックスを表の上に配置することを示すキーワードです。
+
bottom
+
キャプションボックスを表の下に配置することを示すキーワードです。
+
left {{non-standard_inline}}
+
キャプションボックスを表の左に配置することを示すキーワードです。
+
{{Note("この値は CSS 2 で提案されましたが、最終的な CSS 2.1 仕様から削除されており、非標準です。")}}
+
right {{non-standard_inline}}
+
キャプションボックスを表の右に配置することを示すキーワードです。
+
{{Note("この値は CSS 2 で提案されましたが、最終的な CSS 2.1 仕様から削除されており、非標準です。")}}
+
top-outside {{non-standard_inline}}
+
キャプションボックスを表の上に配置することを示すキーワードです。ただし、キャプションの幅や水平方向の配置は、表の水平方向のレイアウトに束縛されません。
+ {{Note("CSS 2.1 仕様では、CSS 2 仕様で値 top について異なる動作を説明していたとの注記があります。この動作は将来の仕様書で、この値を使用して再導入する予定です。")}}
+
bottom-outside {{non-standard_inline}}
+
キャプションボックスを表の下に配置することを示すキーワードです。ただし、キャプションの幅や水平方向の配置は、表の水平方向のレイアウトに束縛されません。
+ {{Note("CSS 2.1 仕様では、CSS 2 仕様で値 bottom について異なる動作を説明していたとの注記があります。この動作は将来の仕様書で、この値を使用して再導入する予定です。")}}
+
+ +

形式構文

+ +{{csssyntax}} + +

+ +

HTML

+ +
<table class="top">
+  <caption>Caption ABOVE the table</caption>
+  <tr>
+    <td>Some data</td>
+    <td>Some more data</td>
+  </tr>
+</table>
+
+<br>
+
+<table class="bottom">
+  <caption>Caption BELOW the table</caption>
+  <tr>
+    <td>Some data</td>
+    <td>Some more data</td>
+  </tr>
+</table>
+
+ +

CSS

+ +
.top caption {
+  caption-side: top;
+}
+
+.bottom caption {
+  caption-side: bottom;
+}
+
+table {
+  border: 1px solid red;
+}
+
+td {
+  border: 1px solid blue;
+}
+
+ +

出力

+ +

{{EmbedLiveSample('Examples')}}

+ +

仕様

+ + + + + + + + + + + + + + + + + + + + + +
仕様書策定状況コメント
{{SpecName('CSS Logical Properties', '#caption-side', 'caption-side')}}{{Spec2('CSS Logical Properties')}}top および bottom は、writing-mode の値に対して相対的であることを定義
{{SpecName('CSS2.1', 'tables.html#caption-position', 'caption-side')}}{{Spec2('CSS2.1')}}最初の定義
+ +

ブラウザ実装状況

+ + + +

{{Compat("css.properties.caption-side")}}

-- cgit v1.2.3-54-g00ecf