From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/html/element/nobr/index.html | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 files/ja/web/html/element/nobr/index.html (limited to 'files/ja/web/html/element/nobr') diff --git a/files/ja/web/html/element/nobr/index.html b/files/ja/web/html/element/nobr/index.html new file mode 100644 index 0000000000..4507d79238 --- /dev/null +++ b/files/ja/web/html/element/nobr/index.html @@ -0,0 +1,35 @@ +--- +title: ': 無改行文字列要素(廃止)' +slug: Web/HTML/Element/nobr +tags: + - Element + - HTML + - Non-standard + - Obsolete + - Reference + - Web + - nobr +translation_of: Web/HTML/Element/nobr +--- +
{{HTMLRef}}{{Non-standard_Header}}{{Obsolete_Header}}
+ +

標準外かつ廃止された HTML の <nobr> 要素は、その内包する文字列の自動改行を無効化します。行内におさまらない文字列は、領域からはみ出てレンダリングされるか、スクロールバーを伴って表示されます。

+ +
+

この要素は標準の要素であったことはなく、広く実装されていませんので、使用するべきではありません。代わりに、 CSS プロパティの {{Cssxref("white-space")}} を次のように使用してください。

+
+ +
<span style="white-space: nowrap;">改行を伴わない長い行</span>
+ +

ブラウザーの互換性

+ + + +
{{Compat("html.elements.nobr")}}
+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf