Help - Search - Members - Calendar
Full Version: div, iframe, or both
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
furnk
Based on another forum, I started out using both div and iframes on my site. The idea was to use CSS more as the layout manager, and iframes more as the content manager.

http://www.collegemedia.com/join/join2/

I tested mainly in Safari, where it works flawlessly. In Firefox, however, I can't get the submenus "Why Join" or "Job Openings" to update the iframe.

I'm beginning to wonder whether I should have tried to do everything using div, but it looks like that would require javascript, which I'd rather not do.

Please tell me I'm simply missing something easy.
pandy
I think you should. Iframes are no better than frames.
http://htmlhelp.com/faq/html/frames.html#frame-problems
If you use frames for practical reasons, to avoid repeating code in each page, use includes instead.
http://htmlhelp.com/faq/html/design.html#include-file


Don't overdo it with the DIVs. They aren't a magic key to CSS. What CSS can do with a DIV it can do with another element as well. DIV and SPAN are the last resort when there aren't more meaningful elements to use. DIV is good for making sections, DIVisions, but otherwise, use sparingly. But maybe you already knew that. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.