HighDots Forums  

Color Matching in IE6

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Color Matching in IE6 in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mike Anderson
 
Posts: n/a

Default Color Matching in IE6 - 07-02-2003 , 10:18 AM






Same page as in my earlier post, which I have found a workaround that is
actually more preferable to the previous attempted solution, however I
now am trying to find an answer to a new question.

http://www.uah.edu/Athletics/index.shtml

http://www.uah.edu/Athletics/style.css

I have created a div block that will, in essence, "extend" the banner as
far as it needs to go (up to 1500px) to accomidate varying screen
resolutions using a background-color element in the CSS.

The color (#336699) matches perfectly in MoScape 1.4/7.1, however using
IE6 the div background-color is a touch lighter than the banner color (a
png graphic file).

Thanks in advance for any ideas.

Mike Anderson
andersms (at) email (dot) uah (dot) edu

Code blocks:

index.shtml:
<div class="bannerextend"></div>
<img class="head"
src="http://www.uah.edu/Athletics/images/general/athhead.png" alt="UAH
Chargers.com">

style.css:
div.bannerextend {
position: absolute;
left: 0px;
right: 1500px;
top: 33px;
bottom: 120px;
width: 100%;
height: 47px;
overflow: hidden;
background-color: #336699;
}
img.head {
position: absolute;
left:-5px;
top:0px;
}

Reply With Quote
  #2  
Old   
Evertjan.
 
Posts: n/a

Default Re: Color Matching in IE6 - 07-02-2003 , 10:50 AM






Mike Anderson wrote on 02 jul 2003 in
comp.infosystems.www.authoring.stylesheets:

Quote:
The color (#336699) matches perfectly in MoScape 1.4/7.1, however using
IE6 the div background-color is a touch lighter than the banner color (a
png graphic file).
make a 1x1 gif and use that as repeating background ?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)


Reply With Quote
  #3  
Old   
Mark Tranchant
 
Posts: n/a

Default Re: Color Matching in IE6 - 07-02-2003 , 12:06 PM



Evertjan. wrote:
Quote:
Mike Anderson wrote on 02 jul 2003 in
comp.infosystems.www.authoring.stylesheets:


The color (#336699) matches perfectly in MoScape 1.4/7.1, however using
IE6 the div background-color is a touch lighter than the banner color (a
png graphic file).


make a 1x1 gif and use that as repeating background ?
Yuk. Have you seen how slowly some browsers (NN4) render that?

The issue is with PNG gamma correction. I solved this once, but I forget
how. I think I just told the GIMP not to save any gamma information into
the PNG.

--
Mark.
http://www.tranchant.freeserve.co.uk/



Reply With Quote
  #4  
Old   
Henri Sivonen
 
Posts: n/a

Default Re: Color Matching in IE6 - 07-05-2003 , 02:24 AM



In article <bduvu8$18e12 (AT) eccws12 (DOT) dearborn.ford.com>,
Mark Tranchant <mtranch2 (AT) ford (DOT) com> wrote:

Quote:
The issue is with PNG gamma correction.
Right. More about this:
http://iki.fi/hsivonen/png-gamma.html

Quote:
I solved this once, but I forget how.
AFAIK, you can't make PNG colors match CSS colors in all PNG-supporting
browsers at the same time.

Safari is the main problem case now. (If this bothers you, see
http://weblogs.mozillazine.org/hyatt/archives/2003_07.html#003630)

Quote:
I think I just told the GIMP not to save any gamma information into
the PNG.
Alternatively, pngcrush can be used
pngcrush -d outputdir -rem gAMA -rem cHRM -rem iCCP *.png

--
Henri Sivonen
hsivonen (AT) iki (DOT) fi
http://www.iki.fi/hsivonen/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html


Reply With Quote
  #5  
Old   
AT
 
Posts: n/a

Default Re: Color Matching in IE6 - 07-05-2003 , 11:43 AM



Henri Sivonen <hsivonen (AT) iki (DOT) fi> writes:

Quote:
http://iki.fi/hsivonen/png-gamma.html
You write:

Quote:
Given the same RGB values, the colors specified in CSS, HTML, JPEG, or
GIF have traditionally matched.
It depends on just *how* traditional your POV is. This is not true
for 16bit color depth, which probably still applies to about 50% of the
Internet population with a color display. For them, wether or not
document colors match image colors on their screen may depend on OS,
wowser and phase of the moon.

So if consistance matters a lot for you, the gamma correction issue is
pointless in *practical* terms.

--
<!DOCTYPO html>


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.