The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

As others have told you, iFrames are perfectly acceptable to use in HTML 4.01 and XHTML 1.0 frameset and transitional DOCTYPEs.

If you don't want to use iFrames (and if I'm reading this right, you're using XHTML 1.1, which means you pretty much have no choice if you want your page to validate), you basically have two choices. One is to use the OBJECT element to insert your other page (you'll have to use conditional comments and a DIV for IE) or to use a DIV in conjunction with either server-side includes (SSI) or a server-side programming language like ASP, PHP, or Perl to "include" your document into the main page.

As in cases like this I find both to be rather messy, I tend to stick with iFrames (keep in mind I rarely use iFrames anyway). If you'd like to learn more, go to www.w3schools.com (no affiliation with the W3C itself) and check it out for yourself. Their reference on iFrames is here:http://www.w3schools.com/tags/tag_iframe.asp

Just keep in mind that if you go with iFrames (and want the page to validate) you won't be able to use a Strict HTML 4.01 or XHTML 1.0 DOCTYPE or XHTML 1.1 either. It's unfortunate, but that's the way the proverbial cookie crumbles.

If you still need help, feel free to post here and one of us will be more than happy to.

IE 7 will only install on Windows XP and Vista. A lot of people still use Windows 98SE and 2000, and a few still use Windows ME.

In other words, Internet Explorer 6 is like the monkey in "Pirates of the Carribean 2" - it WILL NOT DIE.

Fortunately I didn't see the movie.

There are some people still using IE5 but we can't fully support all of them. Take this situation for example, who cares that some people get mid scrolled div upon page refresh? That's really not a big issue, if you will.

For IE 5x, it's best to determine whether you'll support that generation or not by checking the server stats (for an existing site), and to make the site work as well as reasonably possible for that archaic browser for a new site.

papaja I agree 100%. With the new wave of browsers coming out. I noticed that when Flash 8 came out it was very hard to find users that had it loaded. Now it seems like almost everyone has Flash 9. Maybe its just my site. The oldest browsers I have seen are IE5.5 Poor souls. After IE 7.0 and Firefox 2.0 which give a good compelling reason to upgrade more browsers should be up to date.

Yes, but if it is in some kind of chat app, than it is not small flaw.

It seems that I'll stick to IFrame. How to scroll IFrame to bottom?

I've made a chat app once, using a div to show the messages.
I used the following:

when a user added a chat message, that new message received an id (something like "message54"). I then added a hash to window.location (something like "http://www.foo.com/bar.html#message54"). That way, the browser focuses directly on the message added last.