Home > Web Design > Web Design: How to stop body background images from tiling

Web Design: How to stop body background images from tiling

November 17th, 2009

When using the “body background” HTML tag, you might find that smaller images tile (repeat) across the whole page.

You can use this css to prevent this.

<style type=”text/css”>
body
{
background:url(‘your-photo.gif’) no-repeat;
}
</style>

Categories: Web Design Tags: ,
Comments are closed.