タグの絵本
>
CSS
> 背景画像を左上に表示する
■背景画像を左上に表示する
・使用するCSS
body {
background-image: url(☆);
background-repeat: no-repeat;
background-position: left top;
}
補足≫
☆=画像URL
・説明
CSSを使用し、背景画像を左上に表示します。
・使用例
ソース (テスト書き込み可)
<html> <head> <title>あなたのホームページ</title> <style type="text/css"> <!-- body { background-image: url(../image/gako.jpg); background-repeat: no-repeat; background-position: left top; } } --> </style> </head> <body> ホームページ作成中。頑張ります! </body> </html>
Copyright (C) 2006 タグの絵本 All rights reserved.
→
index