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>
Iframe code cannot be directly converted to CSS code, as they serve different purposes; an iframe is an HTML element used to embed another document within a web page, while CSS is used for styling. However, you can use CSS to style an iframe, such as setting its width, height, border, and other properties. You would typically apply CSS rules to the iframe element by selecting it with a class or ID in your stylesheet. For example, you might write CSS like iframe { width: 100%; height: 500px; border: none; } to style it.
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.