HTML:
Kôd:
<html>
<head>
<title>xxxx</title>
<link href="index.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="bgpic2"></div>
</body>
</html>
CSS:
Kôd:
body
{
background-image:url(images/bg_pic.jpg);
background-repeat:repeat;
}
#bgpic2
{
background:url(images/bg_pic2.gif);
width:1000px;
height:750px;
margin:0 auto 0 auto;
}