A strange <iframe> issue.

Miscellaneous Forums/General Discussion/A strange <iframe> issue.

<a name=schreeuwkassie id=schreeuwkassie></a><p>
<iframe width=300 height=500 src=http://www.tbbs.nl/SubSites/Shoutbox/Shoutbox.php?ID=Plekje name=ShoutBoxPlekje id=ShoutBoxPlekje><a href=http://www.tbbs.nl/SubSites/Shoutbox/Shoutboxbig.php?ID=Plekje>Shoutbox</a></iframe>


This is the code I gave up to the webmaster of a site I coded a PHP based shoutbox for. The shoutbox itself works without any problems, but the <iframe> tag however doesn't, or should I say i works for all members of that community except for the site admin. She does not really seem to believe me when I tell her this is my hunch.

All people who tried this see my shoutbox inside a small <iframe>. However to this single woman only the <iframe> is ignored and the link that should display when <iframe> is not supported by your browser pops up. And that goes only for her. Not for all other visitors.

First I thought it was the fact that the fact that she uses Microsoft Internet Explorer and I use FireFox or Apple Safari was the source of evil here. Strangely when I tried this out in my office where my boss is quite Windows Vista-gaga I had to use explorer and to my surprise it works. So it's not Internet Explorer that does the evil.

Strangely enough this woman's browser does support <iframe> since other <iframe> based services on her site do work from her machine.

Now I wonder, is there still something in my code, or is it really that this woman needs to do something with her browser settings.

I'm absolutely confused about this.
if you can find the error, tell me.


(FYI, the shoutbox is in Dutch, but I suppose that doesn't matter for this problem).

ok, first off, you have no doctype on the frames page

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>Untitled</title>
<frameset rows="*,200" framespacing="0" frameborder="no">
<frame src="ShoutMessages.php?ID=Plekje" scrolling=auto marginwidth=0 marginheight=0>
<frame src="ShoutPost.php?ID=Plekje" scrolling=no marginwidth=0 marginheight=0>
</frameset>
</head>

<body>

<noframes>
Your browser does not appear to support frames
</noframes>

</body>
</html>


this page: http://www.tbbs.nl/SubSites/Shoutbox/ShoutMessages.php?ID=Plekje

has no doctype either (and is missing the head portion of the page).

also, your css really needs to be in an HTML comment (<!--

--> ) (inside the style block).



You can validate your HTML here: http://validator.w3.org/
and your CSS here: http://jigsaw.w3.org/css-validator/

Once your doctypes are right and the code validates then you can be sure it's unlikely to be anything you've done.

Be sure to specify utf8 encoding for the document since it's going to have unicode characters on the page.

Thanks a lot for those links...

I'll check them out