背景画像の位置指定

普通の繰り返し 横だけの繰り返し 縦だけの繰り返し 繰り返しなし
スクロールで背景画像も移動 背景画像の位置が固定
left top center top right top
left center center center right center
left bottom center bottom right bottom

スタイルシートに記入する内容。

body {
  background-image: url(images/naruto.png);
  background-color: #ffffff;
  background-repeat:no-repeat;
   
   
}

次のように1行に書くこともできます。

body {background:#ffffff url(images/naruto.png) no-repeat   ;}
背景サンプル 背景サンプル 背景サンプル 背景サンプル 背景サンプル 背景サンプル 背景サンプル 背景サンプル 背景サンプル 背景サンプル 背景サンプル 背景サンプル 背景サンプル 背景サンプル