Previous Message
Next Message

[css-d] IE6/Win classes not remembered ?! - Charset problem [OT] (was: YASC,yet another site check)

Sent by Jan! on 3 September 2002 10:10


>> http://www.jeugdhuisx.be/index.php4 (the right banner color)
 >> http://www.jeugdhuisx.be/nieuws (no banner color)

1. IE6/Win not remembering classes
----------------------------------
The stylesheet declares the following rules for the banner:

#banner.bannerDefault  { background-color: #d6ffd6; }
#banner.bannerNieuws   { background-color: #d6ffd6; }
#banner.bannerAct      { background-color: #bde7f7; }
#banner.bannerPraatjes { background-color: #e7ceff; }
#banner.bannerLeden    { background-color: #fff7bd; }
#banner.bannerInfo     { background-color: #ffd6ce; }

In IE6/Win, the only class that gets recognized is bannerDefault. 
However, if I swap it with another one of the classes, e.g. put 
bannerNieuws first, bannerDefault is no longer recognized. Of these six 
declarations, ONLY THE FIRST ONE IS "REMEMBERED" BY IE6.

Why is this, and more importantly: what can I do about it? Is there 
something like a Simplified IE6 Complete Standards Compliance Hack? :-)

I've already tried:
* spreading the declarations across the style sheet
* putting div#banner instead of just #banner
* putting the styles in an internal stylesheet instead of @import-ed
All without luck.

2. Charset problem with ISO-8859-15? [OT]
-----------------------------------------
 > The site contains characters outside of the declared character set.
 > On my side of the pond, I can't even "view source".
Oh blast. What browser is it you use? Has anyone else seen this? I
tested it on Moz 1.0, Moz 1.1, NS4.x, IE6 - all Windows. The XHTML
validates, the charset is ISO-8859-15. Can that be the cause of trouble? 
Basically I set it to ISO-8859-15 to be able to use the Euro sign and 
accented letters. But that is off-topic.

As usual: thanks for any and all comments. General feedback about the 
site's look is also more than welcome.
--
Jan!
Previous Message
Next Message