Posted by:
Remember when everyone used iframes in order to divide up a page, having one side scroll? Those days are long gone, and for good reason.
Using an iframe was never a favorite of mine, and since the introduction of CSS, iframes are no longer needed (unless there’s an extreme case, or if you’re required to use code from another site). With CSS it’s possible to have the same effect as an iframe, less the bloat.
What is an iframe?
Iframes are a way of displaying a page within a page. You could have it as your sidebar menu, or as a square right in the middle of your main page, showing another page with whatever information is on it. The problem with iframes is that first of all, you’re showing two pages, which is double the load of your browser. It also makes it impossible to obtain validated W3C code, because they do not allow iframes.
Here’s an example of iframe code:
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.yoursite.com/page.html"></iframe>





Connect with MisterFade!