Dave's Brain

Browse - Programming Tips - iframe requires that the content come from a src=

Date: 2009aug13
Language: html

Q.  <iframe> requires that the content come from a src=
How can I provide the content inline?

A.  Replace:

<iframe src=your_content.html width=200 height=100></iframe>
With:
<div style="width:200; height:100px; overflow:scroll">your content</div>

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.