Home >Web Front-end >CSS Tutorial >How Do I Remove the Border from Embedded iFrames in IE6?
Removing Border from Embedded iFrames in IE6
To eliminate the border surrounding an iframe integrated into your web application, adhere to the following steps:
1. Add the frameBorder Attribute:
In the iframe tag, include the frameBorder attribute. Note that the first letter of "frameBorder" should be uppercase (B).
2. Set the frameBorder Value to 0:
Set the value of the frameBorder attribute to "0". This will disable the display of the border around the iframe.
Example:
Note:
This solution is specifically designed for Internet Explorer 6 (IE6) and may not be applicable to other browsers. Ensure that the background colors of your page and the iframe are aligned to create a seamless transition.
The above is the detailed content of How Do I Remove the Border from Embedded iFrames in IE6?. For more information, please follow other related articles on the PHP Chinese website!