背景画像の設定

スタイルシートの場所から

背景画像の設定方法は、以下の6種類あります。

 sample.gif

全体

body {background-image:url(../images/sample.gif); background-repeat:repeat }

水平

body {background-image:url(../images/sample.gif); background-repeat:repeat-x }

垂直

body {background-image:url(../images/sample.gif); background-repeat:repeat-y }

1箇所

body {background-image:url(../images/sample.gif); background-repeat:no-repeat }

1箇所 左下

body {background-image:url(../images/sample.gif); background-repeat:no-repeat; background-position:left bottom }

1箇所 右下

body {background-image:url(../images/sample.gif); background-repeat:no-repeat; background-position:right bottom }

注意: url(../images/sample.gif)の( )の中は、スタイルシートの場所から画像の場所を記載します。

画像が必要な方は、無料素材hp作成・素材で提供サイトを紹介しています。

ページTopヘ

背景画像の設定、スタイルシートの場所から。パソコン付属のテキストエディタを利用した、初心者向け無料ホームページ作成方法の解説。無料hp作成の参考に!

Top >> 無料 ホームページ作成

Access Ranking!

  1. 無料 求人 派遣 土日のみ 単発
  2. 無料 海外旅行保険 クレジットカード 傷害
  3. 無料 アンケート
  4. 無料 クレジットカード 審査 甘い
  5. 無料 ホームページ作成 無料hp作成
  6. 無料 クレジットカード 初心者
  7. 無料 オリックスカード 審査
Copyright©2008 www.syousai.com.All rights reserved. XTML, CSS,