Inline frames are created using the IFRAME tag: <iframe src="sample.html" id="ourFrame"></iframe>
---- iframe {width: 500px; height: 500px;} ---- That's the CSS code for changing an iFrame's width and height. Insert it in the page the iFrame's in, or wherever you put your CSS. If you don't use CSS, or it doesn't work, try this: ---- <iframe src='linktopage' width='500' height='500'></iframe> ---- ...And that's the code for defining the width and height of an iFrame within the iFrame tag.
To embed an iframe in HTML, use the <iframe> tag. For example, to add a photo album in a project, I used something similar to: <iframe src="index-album/index.html"></iframe>. Notice that nothing needs to be between the opening and closing tags, but you must close the iframe tag. Also, you can add many modifiers to the tag, such as height and width, just as you could with a text area.
Using JavaScript, you can accomplish this by deleting the iframe node from the DOM.
You can apply the iframe tag. Inside the iframe tag you can apply the text.
Try: <iframe src="html_intro.asp" width="100%" height="300"> <p>Your browser does not support iframes.</p> </iframe>
http://www.shell.us/motorist/shell-station-locator-and-route-planner.html#iframe-Lz9jb3VudHJ5PVVTJmxhbmd1YWdlPWVuX1VTJnNpdGU9cnRsJm1vZGVzZWxlY3RlZD10cnVl
In Javascript :- var CurrentUrl = document.getElementById('YourIFrameID').contentWindow.location.href;
You set the scrolling to no e.g scrolling="no"
To add a webpage within a particular area in an already existing HTML page, <EMBED> tag or <IFRAME> tag can be used. For example: <EMBED SRC="http://www.domainname.com"> will add the page (http://www.domainname.com) in the existing page. Or <IFRAME SRC="http://www.domainname.com"></IFRAME> will also add the page (http://www.domainname.com) in the existing page.
There are many good online forums to get iFrame code tips. A few of the best forums for tips are Form Stack, Wise Geek, Blogger Hints and Tricks and W Duffy.
sandbox