Here's some HTML:
<iframe src="test.html" style="width: 200px; height: 100px;"></iframe>
<iframe src="test.html" style="width: 800px; height: 100px;"></iframe>
The test.html
page contains some CSS from an external file:
<link rel="stylesheet" type="text/css" href="style.css" />
And the stylesheet has:
@media all and (max-width: 600px) {
body {background-color: red;}
}
The above is simplified, but enough to demonstrate the issue: Both pages are red, despite one of them clearly being wider than the other. Demonstration page
What gives?
(Note: Tested in IE and Chrome - Chrome was fine, with one frame red and the other white.)