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
|
|