[css-d] not exactly centred
hey all, I am having a few problems with this page, and I hope you can help. these are the tests I am looking at: http://www.browsercam.com/public.aspx?proj_id=464449 this is the page and the style sheet: http://sandyfeldman.com/proposal/nathanieldett/test1.php http://sandyfeldman.com/proposal/nathanieldett/nd_home.css BIG PROBLEMS In a few browsers the content isn't exactly centred. In an 800 x 600 window there is a bit of background on the left, none on the right. This really looks bad in IE7, where the right side is a bit cut off. I know I can narrow the box a bit, but it looks so small already on a bigger monitor that I would just like to shove it over a few pixels to the left. Why isn't it centred? How do I move it? IE8 does not seem to display the tiling background. SMALLER PROBLEM Safari on a mac - the image background colour doesn't match the background colour. PC version of Safari looks ok. Actually, all the other browsers I've tested look ok. Any idea of what I can do about this? thanks everybody. Sandy __ css-discuss [cs...@lists.css-discuss.org] 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/
Re: [css-d] not exactly centred
As far as I can see the default margin-left of the body pushes the div.container a couple of pixels to the right. If you define margin-left: 0; for the body, then the centering is better. Regards, Christian *Editura Gesellschaft für Verlagsdienstleistungen mbH* Tempelhofer Damm 2 · 12101 Berlin www.editura.de AG Berlin-Charlottenburg · HR B 81823 · USt.Id. DE217180548 Geschäftsführer: Ralf Szymanski Sandy schrieb: hey all, I am having a few problems with this page, and I hope you can help. these are the tests I am looking at: http://www.browsercam.com/public.aspx?proj_id=464449 this is the page and the style sheet: http://sandyfeldman.com/proposal/nathanieldett/test1.php http://sandyfeldman.com/proposal/nathanieldett/nd_home.css BIG PROBLEMS In a few browsers the content isn't exactly centred. In an 800 x 600 window there is a bit of background on the left, none on the right. This really looks bad in IE7, where the right side is a bit cut off. I know I can narrow the box a bit, but it looks so small already on a bigger monitor that I would just like to shove it over a few pixels to the left. Why isn't it centred? How do I move it? IE8 does not seem to display the tiling background. SMALLER PROBLEM Safari on a mac - the image background colour doesn't match the background colour. PC version of Safari looks ok. Actually, all the other browsers I've tested look ok. Any idea of what I can do about this? thanks everybody. Sandy __ css-discuss [cs...@lists.css-discuss.org] 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/ __ css-discuss [cs...@lists.css-discuss.org] 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/
Re: [css-d] not exactly centred
I bet I know what the color matching problem is. I just went through a BIG learning curve because of this issue. I think it's that the image was saved with a Color Profile attached/embedded. Almost all browsers ignore color profiles, but Safari pays attention to them. http://sandyfeldman.com/proposal/nathanieldett/test1.php http://sandyfeldman.com/proposal/nathanieldett/nd_home.css Theophan - you were right. Thanks so much! I really appreciate you sharing what sounds like what must have been some pretty hard won information. Sandy __ css-discuss [cs...@lists.css-discuss.org] 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/
Re: [css-d] not exactly centred
I bet I know what the color matching problem is. I just went through a BIG learning curve because of this issue. I think it's that the image was saved with a Color Profile attached/embedded. Almost all browsers ignore color profiles, but Safari pays attention to them. You can make Firefox pay attention too: http://tinyurl.com/6tceu5 And you can check it works here: http://www.gballard.net/psd/saveforwebshift.html Desaturated, washed out images in browsers is not only annoying, but hard to explain to clients when their supplied images loose their brilliance. At least colour/color management is starting to infiltrate browserland and may one day become widespread ... Cheers, KathyW. __ css-discuss [cs...@lists.css-discuss.org] 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/