View Single Post
08-03-2004, 04:30 PM
#5
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

It's not really a way around iframes at all, more a way of making divs 'look' slightly like iframes do. Admittedly if you used something along the lines of:
Code:
<!-- SSI include -->
<div id="ssi"><!--#include virtual="file.html" --></div>
or,
<!-- PHP Include -->
<div id="ssi"><?php include("file.html"); ?></div>
Then you're getting closer to the intended use of iframes (to separate various 'pages' and load them in individually). The added advantage of using the CSS alternative is (IMO) simply that more styling can be done with the div (go on, argue with me). That and you're not using iframes which is always good! I have to admit however, that until browsers allow you to scroll the content using the mouse scrollwheel in a div then I won't be using this method much at all.

- Salathe