Padded iFrame Bug
Testcase Opera 7.x
Filed with Opera as bug #135263.
- Omega Junior Web
- A.E.Veltstra, 2004/04/23
- Just making some room
- Nothing interesting to read :) Just making some space.
- Description:
- Opera 7.23, 7.5p1-4 (Win/Mac) (problem solved in Opera 7.52)
Above, this page includes an iFrame. The css defines it to have padding. Pink background color fills the padding. Opera doesn't render this padding, nor the red border, on the right and the bottom of the iFrame. It appears the iFrame overflows its own container, by the combined widths of its padding and border. In the overflowed area, parts of other applications or other web pages may show.
Sometimes, you need to switch web page tabs to activate the problem. Once it shows, reloading will not make it go away.
Sometimes, you need to refresh the window to see the rendering problem.
- Causes:
- In the css, I set both the html and the body elements to overflow automatically. If this rule were omitted, the rendering problem wouldn't show.
When I omit the iFrame padding, the iFrame still overflows, by the width of its border.
- Contact:
- If you have any corrections, please inform me.
- Used technology:
- XHTML 1.0 Transitional, CSS2 (Positioning)
