You are here: Matching colours between a .png and background « HTML « IT news, forums, messages
Matching colours between a .png and background

Posted by patrick j on 03/07/07 16:55

Hi

I'm wondering a bit about an inconsistency between colours matching on a
web-site I'm working on.

As a demonstration I've created an ultra simple HTML page containing a .png
image.

The image is at the top right of the page. The body element of the page has
a background colour which should be the same but only seems to be on some
web-browsers.

The URL is:

<http://www.patrickjames.me.uk/colourtest.html>

Don't forget that in the UK we spell colour with a u. We do this because we
like being awkward.

The actual colour of the image and the background has the following
red/green/blue values:

rgb(0%, 25.1%, 50.2%)

Viewed with Safari and iCab the colours match perfectly and so the image
can not be seen. However viewed with FireFox and IE 7 the colour of the
image is lighter than that of the background. Viewed with IE 6 a white-ish
line appears around the .png.

So, my question is: how do I get the colours to match in all browsers?

Thank you :)
--
Patrick
Brighton, UK
If you wish you can email me from web-site.
<http://www.patrickjames.me.uk>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация