IE7 Zoom issues: Absolute positioning and centering

Posted by Dan Eastwell Mon, 29 Jan 2007 10:14:00 GMT

You'd think that with IE7's zoom feature, we'd get rid of one real testing headache when creating scalable layouts with CSS.

That's true in the vast majority of cases, but there are still issues with techniques we've come to get used to.

Take this example: www.digitaluk.co.uk.

IE7 at no zoom

With one level of zoom, you find that the calculation for the centering of the navigation gives a different result to that for the main content:

IE7 at 1st zoom

And is greater at the second level:

IE7 at 1st zoom

This may be due to the fact that the navigation is absolutely positioned, within a relative parent container, a technique for getting main content first on the page (normally for SEO), but not first when viewed in the browser.

This may be an issue we front-end developers need to tackle, or it may be a bug in IE7's zoom facility, I've not tested this thoroughly enough yet, but there is an issue that needs resolving.

Posted in , , ,  | Tags , , , , ,  | 1 comment

Comments

  1. Avatar http://blog.treasurelondon.com said 10 months later:

    There are some serious issues with IE7’s zoom - it also misaligns any links that you’ve got.

    Hope you find a fix, All the best, Ronald

(leave url/email »)

   Comment Markup Help Preview comment