Remove an iFrame border in IE8

by Theo in webdesign, webdev, html | 1 min

Internet Explorer 8 may display a border regardless of your CSS attempts. This guide details how to remove it.

1Add the frameBorder attribute below to the iFrame tag

Note:

frameBorder is necessary to remove borders in IE6-IE8, but is not HTML5 valid.


Now learn about:


Discuss this guide

var disqus_shortname = ‘howchootest’; (function() { var dsq = document.createElement(‘script’); dsq.type = ‘text/javascript’; dsq.async = true; dsq.src = ‘//’ + disqus_shortname + ‘.disqus.com/embed.js’; (document.getElementsByTagName(‘head’)[0] || document.getElementsByTagName(‘body’)[0]).appendChild(dsq); })();

Leave a Reply

Your email address will not be published. Required fields are marked *