zondag 25 mei 2003

Cascading Style Sheet properties are a powerful and useful method of fixing background images to your web pages. Here are three examples of how this can be accomplished with relative ease. These methods can be used to enhance your web pages by attaching highlighting graphics to the background of your pages.

To fix an image vertically on a web page and have it repeat down the left side of the page, you would use the following css. This is best used for repeating a background image to enhance a menu system or some similar type of area.

To view an example of this: klik hier

To fix an image horizontally on a page and have it repeat across the top of the page, you would use the following css. This is used to create a background strip at the top of the page. The width of this strip is controlled solely by the width of the image you are using.

To view an example of this klik hier
We've all seen web pages with an image fixed in the center of the page while the rest of the page scrolls around it. Use this bit of css to accomplish that on your own webpages.

To view an example of this klik hier!

Geen opmerkingen: