Home > Web Front-end > CSS Tutorial > How to Remove the Border from IFrames in IE6?

How to Remove the Border from IFrames in IE6?

Patricia Arquette
Release: 2024-11-03 19:29:30
Original
249 people have browsed it

How to Remove the Border from IFrames in IE6?

Defeating the Border in IE6 IFrames

When integrating an iframe into your IE6-centric web app, you may encounter an unsightly border surrounding the embedded content. This visual distraction can disrupt the seamless transition from your page's content to the iframe's contents. To eliminate this border and ensure a consistent background color across the entire interface, follow these steps:


  1. Locate the HTML code for the iframe.

  2. Add the following attribute to the iframe tag (capital "B" in "frameBorder"):
    <iframe src="myURL" width="300" height="300" frameBorder="0">Browser not compatible.</iframe>

Once you have made this modification, the border around the iframe will disappear, creating a smooth visual transition between your page's content and the embedded content.

The above is the detailed content of How to Remove the Border from IFrames in IE6?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template