CSS Tutorial - Example of Background Property

Back to Tutorial Page

While the settings on this page are not the norm, I have positioned the background image 40 pixels from the left and have tiled it vertically.

Since the background image is only 96 pixels wide, the green background color is displayed on the remainder of the page.

The Html code looks like this:

<BODY STYLE="background-color: #AAE9DD; background-image: url('til05v15.jpg');
background-repeat: repeat-y;
background-position: 40px">


This is the background image: til05v15.jpg

Back Page 1 of 1  
Page added on 09-30-2001