Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: background color not matching

  • Subject: Re: background color not matching
  • From: Roy Schestowitz <newsgroups@schestowitz.com>
  • Date: Fri, 25 Feb 2005 13:55:56 +0000
  • Newsgroups: alt.html
  • References: <fgFTd.49240$911.19537@fe2.texas.rr.com>
  • User-agent: KNode/0.7.2
Michael Satterwhite wrote:

> I have a .jpg image with a known background color (#F6F6FF). Using a style
> sheet, I specify background-color: #F6F6FF;. The problem is that when the
> page renders, the background color is *CLOSE* to the background-color of
> the image, but it doesn't match. As a result, the boundary of the .jpg is
> visible.
> 
> What can I do to make these colors match?
> 
> tia
> ---Michael

Use indexed colour palette in a format like PNG or GIF. JPEGs rely on
wavelets and are an approximation. This means that the background of your 
image will not be guaranteed to match the background colour.

Roy

-- 
Roy Schestowitz
http://schestowitz.com

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index