[css-d] Background color looks right in IE, nothing else.

2006-06-14 Thread mindy
Morning!

Okay so the site looks right in IE and I know that IE makes some guesses
as to what you want to see so...how do I make [LINK:
http://pj-chron.com/redesign/] http://pj-chron.com/redesign/ look right in
Netscape, Firefox ect. In other words, how it does in IE.

The code is compliant :
[LINK:
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fpj-chron.com%2Fredesign%2Fcssfile.cssusermedium=all]
http://jigsaw.w3.org/css-validator/v...usermedium=all

Here is the relevant css code:#container{
width: 760px;
height: auto;
margin:0 auto;
padding:10px 10px 0 10px;
background: #ff url(images/contbg.png) no-repeat;
border: none;
color:#222;
}

Thanks for the help
~Mindy
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Background color looks right in IE, nothing else.

2006-06-14 Thread Gunlaug Sørtun
mindy wrote:
 http://pj-chron.com/redesign/

 Here is the relevant css code:#container{
 width: 760px;
 }

The above width keeps IE/win happy, as it acts as a 'hasLayout'[1] trigger.

Other browsers need a proper 'Block formatting contexts'[2], so adding...
#container {overflow: hidden;}
...will work in most.


Georg

[1]http://www.satzansatz.de/cssd/onhavinglayout.html
[2]http://www.w3.org/TR/CSS21/visuren.html#q15
-- 
http://www.gunlaug.no
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/