Mark Finney wrote: > Opps! Meant to do that... here is a test page that you can see.... > www.helpusmarry.co.uk/test/ > > On 03/07/07, Mark Finney <[EMAIL PROTECTED]> wrote: > >> I am just about getting there with the basics of CSS but am confused by >> something ie6 is doing... The site is a fixed width, centred column with a >> header background image. The problem is that although it is fine in firefox >> it is shift 1px to the left in ie6.... Why? Also is it ok in other >> browsers?? >> >> Thanks in advance! >> >> Mark >> >> > > > >
I did not look at your page in IE. All versions of IE confuse me. And I'm seldom in the mood to chase a 1px difference in anything. To test what you have it is necessary to add content. I did so on a local file. The content for #subContent shoots right. It goes outside the page and wrapper and is on it's way to Havana. Adding a new selector #subContent p with a width assigned will contain it. But then you're still stuck with how to clear the footer (keep it below the bottom of #subContent) . The moral of the story is that absolute positioning is seldom advantageous for the structural layout of a page. It produces a brittle layout that breaks easily with stress. I would suggest that you use a float layout. Float layouts far more complex than what you have, or might even envision, are frequently done without any ap whatsoever. Negative-margin float layouts are particularly stable, robust, and work extremely well cross-browser. There is an excellent 2 column tutorial layout here: <http://www.alistapart.com/articles/negativemargins/> And a number of 2 col spins on the same principle here: <http://blog.html.it/layoutgala/> Best, ~dL -- http://chelseacreekstudio.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- 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/
