<head> 〜 </head>
要素内に指定する。
柿色表示
のカ所のタグを、
コピー貼り付けでページに反映させて下さい。
<meta http-equiv="Content-Style-Type" content="text/css">
<style type=text/css>
<!--
body{
background-image : url("
背景画像を指定
");
background-position:
100% 0%;
background-repeat: repeat-y;
background-color:#ffffff;
}
-->
</style>
|
|
|
|
|
|
|
|
|
|
|
タグの解説
background
ページ全体の背景色・背景画像レイアウトを指定
|
|
|
position
背景画像の表示位置を指定
|
|
|
タグを、詳細に確認すれば分かるように
0% 0%;
横列位置指定・
縦列位置指定になる。
0% 0%;
を色々変えて任意の位置に指定してみよう。
|
|
|
repeat-
y
背景画像を、
縦列に繰り返し表示する。
|
|
|
background-color:
背景色の指定。
|
|
|