netaholic
08-24-2005, 02:17 AM
to me, divs and iframes seem to pretty much serve the same perpous. anyone care to differenciate between the two? when would i use one as oppose to the other?
|
View Full Version : divs vs. iframes netaholic 08-24-2005, 02:17 AM to me, divs and iframes seem to pretty much serve the same perpous. anyone care to differenciate between the two? when would i use one as oppose to the other? BrandonLee 08-24-2005, 03:58 AM IFrames require two files, the layout and the content. Now you can edit the layout by just eding one file. If you use a DIV on the other hand it is one file. It can be scrollable or with no scrollbar and does not need a height setting. A div is more practical for everyday designs but for dynamic ness require PHP Includes. pb&j 08-24-2005, 04:34 AM iframes are windows that show a different webpage inside of them. the contents (webpage) can be changed in an iframe at the click of a link. divs are containers of content on a page. they cannot be changed upon a link click. |