O'Reilly logo

Microsoft® HTML5 Step by Step by Faithe Wempen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Specifying a Background Image File

A background image appears behind the text on a page. By default, the image is tiled to fill the page and scrolls with the page.

Unfortunately, there are plenty of examples of ineffective or distracting backgrounds on the Web. Here are some tips for making yours better than those:

Choose images that are designed to be tiled so that each copy blends smoothly into the next. When the image’s edges blend well, it will look like a single, large image. In the following figure, the edges do not blend well:

image with no caption

On the other hand, the edges of the tiled copies of the following image blend together well in both directions.

Use subtle ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required