|
|
柿色表示
のカ所のタグを、 コピー貼り付けでページに反映させて下さい。
<html>
<head>
<title></title>
<meta http-equiv="Content-Style-Type" content="text/css">
|
<style type=text/css>
<!--
body{ background-image : url("
背景画像を指定
"); background-position:
0% 0%;
background-repeat: no-repeat;
background-attachment: fixed;
background-color:
背景色の指定
; }
-->
</style>
|
</head> <body>
実際に表示される画像や文章を、すべてこの範囲に指定します。
</body> </html>
|
|
|
|
|
|
背景画像を、左端トップに固定して表示。
<head> 〜 </head>
要素内に指定する。
|
|
|
背景画像表示を、タグに合わせてページに反映しています。
背景色も近似値色で指定するようにしよう。
|
|
|
|
柿色表示
のカ所のタグを、
コピー貼り付けでページに反映させて下さい。
|
|
|
|
タグの解説
background
ページ全体の背景色・背景画像レイアウトを指定
|
|
|
position
背景画像の表示位置を指定
|
|
|
no-repeat
背景画像を、繰り返し表示しない。
|
|
|
attachment: fixed
背景画像を固定する。
|
|
|
background-color:
背景色の指定。
|
|