【CSS07】
背景画像を設定(水平方向に繰り返し)
>以下ソース
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html lang="ja"> <head> <title>【CSS07】</title> <meta http-equiv="Content-Type" content="text/html; charset=SHIFT-JIS" > <style type="text/css"> <!-- body {background-image:url("http://cdn-ak.f.st-hatena.com/images/fotolife/w/web-design-advance/20120415/20120415205559.jpg"); background-repeat:repeat-x; } h1 {color:#4169e1; font-size:32px; font-weight:bold; } //--> </style> </head> <body> <h1>Page Design</h1> </body> </html>
>できたページ