Hi,

This is weird, I've googled long time and I cannot find solution.
It happens only on IE6.

Sorry, but I cannot put online case right now, here is just the code.


Scenario 1:
You should see text on blue background of div #wrapper

= FILE BEGIN ==
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
   
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<head>
    <title></title>
<style type="text/css">
#wrapper.blue {background:blue}
#wrapper.red {background:red}
</style>
</head>

<body>
<div id="wrapper" class="blue">
this background should be blue
</div>
</body>
</html>
= FILE END =


Scenario 2:
After swapping lines
#wrapper.blue {background:blue}
#wrapper.red {background:red}
the background is no longer blue.
= FILE BEGIN ==
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
   
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<head>
    <title></title>
<style type="text/css">
#wrapper.red {background:red}
#wrapper.blue {background:blue}
</style>
</head>

<body>
<div id="wrapper" class="blue">
this background should be blue
</div>
</body>
</html>
= FILE END =


What's happening???


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to