Friday 11 April 2014

How can I stop internet explorer from adding borders to an iframe

Posted by Саша 04:18, under | No comments


How can I stop internet explorer from adding borders to an iframe? How can I stop internet explorer from adding borders to an iframe?

I have set border, margin and padding to 0 on both the iframe and the body of the web page it contains. Yet IE 7 displays an inner border left and top, which bites away from the available width and height. How can I get rid of that border?

I haven't tested on IE 6, but I suppose it will be the same problem...


Other Answers:




<iframe frameborder="0">
CSS doesn't work with iframe on IE. I had the same problem.









0 коммент.:

Post a Comment