Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Document Tags > <BODY ...> > <BODY BACKGROUND="...">

Background Colors and Transparent Background Images

If the background image is a transparent GIF, the page is rendered so that the background color is "underneath" the image, and the color peeks through the transparent parts. Consider this (slightly obnoxious) background image:

background image with transparency test image

The circles in the image are the only parts that aren't transparent. Now let's put that image on a page with a blue background:

this code produces this
<BODY 
BGCOLOR="#AAAAFF" 
 BACKGROUND="../graphics/bgtest.gif" 
 TEXT="#000000" 
 LINK="#0000FF" 
 VLINK="#FF66FF" 
 ALINK="#FF0000" 
 >
this page

<BODY TEXT="..."> >>>

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com