Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

IE7 How do i sort this?

Featured Replies

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

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;

}

  • 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

  • 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

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).

  • 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

  • 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

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.