Saturday, February 2, 2013

How to repeat a background image only horizontally


<!DOCTYPE html>
<html>
<head>
<style>
body
{
background-image:url('gradient2.png');
background-repeat:repeat-x;
}
</style>
</head>

<body>
<h1>Hello World!</h1>
</body>

</html>

No comments:

Post a Comment