Re: [css-d] Background color looks right in IE, nothing else.
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/
[css-d] Background color looks right in IE, nothing else.
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.css&usermedium=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/