CSS Background Repeat - Create Amazing Squidoo Lenses

The CSS Background property is a popular way toeffects on the page. The simplest example of this is
add interesting background images behind text onthe use of a small rectangular image which is
web pages, using a URL to the required image. It'srepeated across and down the page. This can create
available through CSS support for many 'build youran attractive repeated pattern. Again, the colors and
own' Web2.0 sites such as MySpace and Squidoo.image need to be chosen carefully to avoid clashing
CSS Background images can be used to createwith any text.
backdrops to large paragraphs of text, or for small,Another interesting technique is to use a very narrow
repeated images behind links. The CSS Backgroundslice from an image (possibly only 1 pixel wide) and
Repeat property can be used to create fascinatingthen repeat this in only one direction. Depending on
background patterns and to reduce web page loadthe original image, the choice of image slice can have
times.a dramatic effect on the result, which often shows
It's important that background images are chosenfascinating colored stripes across or down the screen.
carefully. Images should complement the overlyingAn issue with using large image backgrounds is file
text, rather than clashing. Here it's wise to considersize and therefore page load time. The CSS
the overall color palette of the web pages and toBackground Repeat property may be used here to
ensure that the background fits in with the scheme.speed up page loads, since a smaller image is used to
The size of the original image must be suitable forfill the same area on the page.
the size of the paragraph, link, etc. otherwise anThe CSS Background property is often applied to div
unwanted repeat of the image can occur. Currentlysections on a webpage, but can also be applied to
there's no way in CSS2 to resize a backgroundparagraphs and lists. Note that on Squidoo, divs are
image.not supported, so a simple workaround for this is to
There are, however, creative reasons for using anapply the background property to a paragraph.
image which is smaller than the area on the webpage.You'll find some stunning examples by Dr. Richard of
When combined with the CSS Background Repeatthe CSS Background Repeat techniques on Squidoo.
property it is possible to create interesting tiling