Border around iframe

Atom RSS

This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.

Main navigation:




Search reports by browser:

Setting a border around an iframe creates a padding-right and padding-bottom twice as large as the border.
This bug occurs in MSIE 6 in Strict Mode. It seems the iframe's document width is computed according to the traditional box model, while the iframe itself is computed according to the W3C box model.

Test page Workaround is not included
Reported by: G�rard Talbot..

Explorer 5-6 Windows | Reported on 3 June 2005.

Comments

(Add your own)

Posted by Ingo Chao on 26 June 2005

1

Apply _overflow:hidden (here the underscore hack is used to hife it from the others) to the iframe.
We discussed the bug in this css-d thread:
http://archivist.incutio.com/viewlist/css-discuss/57312

Post a comment

Commenting guidelines:

  1. When quoting specs, articles or your own research, please include a URL of the document.
  2. Test your stuff. When reporting browser behaviour, make sure that your report is correct.

Yes