Iframe inside a DIV incompatibility Chrome-Firefox?

The latest version of Google Chrome (14.0.835) displays the fiddle in the exact same way as the latest version of Firefox (3.6.23) and the latest version of IE (9.0.3). So you can see that Google Chrome shouldn't have done it "right" in the first place. It was displaying what you wanted by mistake.

The latest version of Google Chrome (14.0.835) displays the fiddle in the exact same way as the latest version of Firefox (3.6.23) and the latest version of IE (9.0.3). So you can see that Google Chrome shouldn't have done it "right" in the first place. It was displaying what you wanted by mistake... Adding position: absolute; to the style of .

Frame will achieve what you're going for. It works on all three mentioned browsers. Here's the fiddle: jsfiddle.Net/Q5mt5/1.

1 you have "normalise css" on your jsFiddle. This won't help show browser differences. – James Khoury Oct 13 at 3:40 @JamesKhoury: Thanks for the tip.

I've never used fiddles. I just provided one since the OP asked for it. – Dennis Oct 13 at 3:44 What kind of firefox version is "2.6.23"?

The latest one is 10.0a1 – Shedokan Oct 15 at 17:57 I meant 3.6.23. It's not the newest version after all. I only use Firefox for testing.My standard browser is Chrome... – Dennis Oct 15 at 18:39.

Taking from Dennis' jsFiddle I figured you can do: html, body { width: 100%; height: 100%; padding:0px; } div { height: 100%; width: 100%; overflow: hidden; } iframe { height: 100%; width: 100%; } jsfiddle works in Firefox 4 and Chrome 14 (sorry thats all I have here with me atm. ).

Firefox is correct here. An iframe is an inline replaced element by default, so it sits on the baseline. If you add display: block; to the style for the frame class, then it will obey block sizing rules and completely cover the div.

I've tried to add display:block, but still not working. There is no changes :( – Ivan Oct 10 at 7:05.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions