[ Solved – 11 Answers ] HTML – Remove border from IFrame
How to remove the border from an iframe embedded in web app? An example of the iframe is:
Html Code
<iframe src="myURL" width="300" height="300">Browser not compatible.</iframe>
[ad type=”banner”]
Add the frameBorder attribute (note the capital ‘B’).
So it would look like:
Html Code
<iframe src="myURL" width="300" height="300" frameBorder="0">Browser not compatible.</iframe>
You have to set the frameBorder attribute with a capital B.
Html Code
<iframe frameBorder="0" ></iframe>
In addition to adding the frameBorder attribute you might want to consider setting the scrolling attribute to “no” to prevent scrollbars from appearing.
Html Code
<iframe src="myURL" width="300" height="300" frameBorder="0" scrolling="no">Browser not compatible. </iframe >
Wikitechy Founder, Author, International Speaker, and Job Consultant. My role as the CEO of Wikitechy, I help businesses build their next generation digital platforms and help with their product innovation and growth strategy. I'm a frequent speaker at tech conferences and events.