このサンプルでは、背景画像を左から30%、上から40%の位置に1枚だけ表示します。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja">
<head>
<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<META http-equiv="Content-Style-Type" content="text/css">
<title>背景画像の位置を指定する</title>
<style type="text/css">
<!--
body { background-image: url(back018.jpg);
background-repeat: no-repeat;
background-position: 30% 40%; }
-->
</style>
</head>
<body>
<h1>background-position</h1>
<p>このサンプルでは、背景画像を左から30%、上から40%の位置に1枚だけ表示します。</p>
</body>
</html>