Framework Madness!

And other adventures C# and asp.net …

IE quirk with iFrame and position: relative

with one comment

I have a project I have been working on that involves promoting realtor properties to multiple listing sources such a google, trulia and others. On one site in particular my client had noticed that there was as an issue where the property page form his web site would not show inside an iframe on the the listing web site using IE. I managed to trace it down to a style sheet issue. For some reason, cannot remember, I had put the css attribute ‘position: relative’ on the body and html elements. This passed the WC3 validator, but IE didn’t like this so the page would not show at all inside the iframe. Removing the attribute solved the problem.

Note: this was not error with FireFox.

Advertisements

Written by Lynn Eriksen

April 3, 2009 at 12:28 pm

Posted in Uncategorized

Tagged with , ,

One Response

Subscribe to comments with RSS.

  1. It’s a bug in IE7/IE8. Was fixed in IE9, doesn’t appear in other browsers.

    dawda

    November 29, 2012 at 4:23 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: