August 7, 200917 yr Hi guys i'm new here! I have just launched my new personal site http://www.prettyklicks.com However apparently on IE7 (i run mac) is pushing the content down below the page and you have to scroll right down to view it. It's probably really simple, but how do i fix this? Thanks Stefpretty
August 7, 200917 yr The left column is too wide; it's OK in Firefox but not in IE7. 1px less is OK in my test. .leftcolumn{ width:554px;/*555px;*/ padding-top:10px; padding-bottom:10px; padding-right:10px; font-size:12px; }
August 8, 200917 yr Author Awesome, thanks what if i was to make the container 1px bigger? instead of reducing the left column would that have the same effect? The only reason i ask this is because all the images i uploaded for the content are 550px and i really dont want to have to resize them all to 554px ! Thanks again Stefpretty
August 8, 200917 yr Author Right what i did instead was reduce the padding-right by 1px, to 9px. could someone please confirm that this is now sorted in in IE7? Thanks
August 8, 200917 yr Yes, it's OK in IE7 now. Making the container 1px wider would probably have been OK, provided that the leftcolumn and other divs were the immediate children but you might have had to edit the width of any other divs in container like a header or footer if you have them. (I notice that #leftcolumn and #rightcolumn are inside #maincontent which doesn't have a width and that is inside #container which is width: 925px, so editing #container to 926px does work as #maincontent just expands by 1px).
August 9, 200917 yr Author Thanks very much for your help, appreciated. i'll make sure i take into account that 1px with IE7 next time when i design a site this way. I know my site construction aren't the most efficient etc but i just like it to work! Appreciated the help! and glad its sorted now. Thanks Stefpretty
August 9, 200917 yr Author AHA! It just dawned on me it was my 1px border! silly me! In fact is someone willing to enlighten me why my forgetfulness never showed affect in firefox or safari and only affected IE by forcing it down because it was 1 px to wide? Is it something to do with IE treating the border as addition to the width set and safari and firefox including it in the width. Or is it IE treats width as min-width and expands automatically and firefox ad safari just let it overrun into the other div? Just finished a bar shift long 11 hours. Cant think straight. I hate when i cant work things out. Thanks again Prettyklicks
August 9, 200917 yr Since you have a correct doctype, it isn't a Quirks mode issue with IE, I think it's just that browsers all deal with errors in different ways; in a similar way lots of errors like missing or extra tags can be ignored by some browsers but not by others.
Create an account or sign in to comment