PDA

View Full Version : iframe


Soad
08-17-2007, 11:22 AM
What is and how do you create an iframe

m1a2x3x7
08-17-2007, 01:20 PM
its a frame that contains other documents such as web sites

if you put this on your page and set it to dreamweaverclub.com it will pop up the site within your site


<iframe
src ="http://www.dreamweaverclub.com"
width="100%">
</iframe>

Theres a good amount of attributes that you can check out here.

http://www.w3schools.com/tags/tag_iframe.asp

domedia
08-17-2007, 02:16 PM
Works great for adding external content to your website if feeds are not provided. You can set specific height and width.

Some people use iframes just to achieve scrollbars inside the document. This is a little backwards, since the effect is so easily (and correctly) achieved by CSS:
http://www.dreamweaverclub.com/css-scroller.php