white
英語 [wa?t] アメリカ人 [hwa?t, wa?t]
adj. 白、純粋、無色透明、白人、白人
n. 白; 白人; 空白; 白色顔料
vt. (書き込み、印刷など) 空白を殘す; 白にする、しっくい; 漂白剤
space
英[spe?s] 美[spes]
n. スペース、スペース; 空白、間隔; ギャップ; 瞬間
vt. 區(qū)切る... ...
vi. 一定の間隔で配置
css white-space屬性 構(gòu)文
関數(shù): white-space 屬性は、要素內(nèi)の空白を処理する方法を設(shè)定します。
説明: この屬性は、レイアウト プロセス中に要素內(nèi)の空白文字を処理する方法を宣言します。 pre-wrap と pre-line の値は CSS 2.1 で新しく追加されました。
注: Internet Explorer (IE8 を含む) のどのバージョンでも、屬性値「inherit」はサポートされていません。
css white-space屬性 例
<html> <head> <style type="text/css"> p { white-space: nowrap } </style> </head> <body> <p> php中文網(wǎng) php中文網(wǎng) php中文網(wǎng) php中文網(wǎng) php中文網(wǎng) php中文網(wǎng) php中文網(wǎng) php中文網(wǎng) php中文網(wǎng) </p> </body> </html>
[インスタンスの実行] ボタンをクリックしてオンライン インスタンスを表示します