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.

IE8 zoom issue

Featured Replies

Hi everyone, hopefully someone can help with this.

 

When I view my site: www.fuelrecruitment.co.uk in IE8 and zoom in, the layout breaks.

 

I've tried different position:, clears: overflow: and display: attributes on the divs but nothing seems to fix it.

So frustrating as it seems to zoom in fine in other browsers. Can anyone advise please?

 

Many thanks

 

Michelle

As I currently browse using IE8, it seems to be fixed, but some good tips:

 

1. Try to manipulate adding position: relative to some neuralgic elements.

2. Use relative font sizes (when fonts break) - example: ems instead of points or percent instead of pixels.

3. Also, You might try to add zoom: 1; CSS property, but You have to be aware that such problems are usually very confusing and hard to fix.

 

I hope it helped,

Paul

  • Author

Thanks Paul, I had wondered whether changing the sizes to em instead of px would help. I'll give it a go!: )

 

PS can you explain what a neuralgic element is please?

Edited by bassmish123

To be honest, changing sizes is a bit out-of-date issue because it mainly affected zooming in IE6. I am not 100% sure if it still happens in IE8 because I always use relative font sizes ;)

 

Well, neuralgic element is the element causing problems (I am not sure if such comparison appears in English). According to the IE issues, it's really hard to find it, sometimes that's a container, sometimes particular layout element, I sometimes spot this problem working with JS sliders in IE. IE has a slightly different understading of elements, just google for the hasLayout to find out more.

I've just noticed that when I view the homepage in IE and zoom in, it looks fine. But all the other pages break on zoom. The plot thickens!

That happens in Chrome and FireFox as well.. But it's not only because of the width being in pixels, there are a lot of other gremlins at play here.

 

Pixel width issues aside; #topheader3 looks to be lined up with #maincontent3, yet the #topheader3 itself is float='left' against a sidebar with fixed width (and float='left'), then it's #maincontent3 is a float='left' wrapped in a float='right' with fixed width... As soon as any of these elements change size, you'll run into problems. Sorry to say it, but my brain hurts trying to think of where things will move to at 150% zoom. :blink: At the end of the day, if you want it to be truly zoom-friendly, you're going to need to rework the layout quite drastically...

 

To keep things simple, work from the outside in: first decide on whether the site is fluid width or fixed (percent or pixel). Then work the width of the elements contained there-in using percentages. Then after that, you can work on the height of the elements and their vertical alignment..

 

It sounds a lot more complex than it really is, just give it a go in a test document with some empty elements and you'll get the hang of it relatively quickly. :)

  • Author

So my brilliant IT support chap offered the following fix which has worked a treat:

 

<br style=”clear:both;” />

 

in front the sidemenu div. Sorted! : )

Ah... Nice. Just due to personal preference, I use floats very sparingly, so I honestly wouldn't have thought of trying that. :)

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.