How to Eliminate Border from an IFrame in IE6
When embedding an iframe within a web application, you may encounter an unsightly border around the iframe that disrupts the seamless flow from your page content to the iframe's content. This article provides a reliable solution for removing this border specifically in Internet Explorer 6.
To eliminate the border in IE6, you need to add the frameBorder attribute to the iframe tag. Ensure that the letter "B" in "frameBorder" is capitalized.
<code class="html"><iframe src="myURL" width="300" height="300" frameBorder="0">Browser not compatible.</iframe></code>
Incorporating this attribute will remove the border, ensuring a smooth transition from your page content to the iframe's content. Please note that this solution is exclusive to IE6, and other browsers may require alternative approaches.
The above is the detailed content of How to Remove the Border from an IFrame in IE6?. For more information, please follow other related articles on the PHP Chinese website!