Saturday, August 17, 2013

CSS bg image horizontally

<html>
<head>
<style type="text/css">
body
{
background-image:url('people.gif');
background-repeat:repeat-x;
}
</style>
</head>

<body>

<h1>repeat-x will repeat a background image only horizontally.</h1>

</body>
</html>

Result


No comments: