Closed (sort of)

TEOM as you know it has been closed. I will keep it up for reference but it no longer will receive tutorial updates.

There are plans for a completely new site. If you'd like to be notified once the other site is up, simply subscribe to my mailing list.

Thanks for the support throughout all these years :)

XHTML + CSS

Non-Repeating Background

Non-Repeating Background tutorial preview.

Here’s an example of how to set a non-repeating background to the body tag of a page:

Note that this piece of code should be added to a CSS file.

background-image indicates the location of the file and the file name of the background image.

background-position determines the position of the background: first the horizontal position and then the vertical position.

background-repeat will determine how or if the background should be repeated.

background-color indicates the color that will be displayed while the background image is being loaded or in case the background isn’t available. This color will also show on areas that aren’t covered by the image.

For more information on background properites and other ways of writing the code, go to W3C.org.

· Apr 02, 2006 ·