Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

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

 
 
  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire