...

View Full Version : EXTREMELY easy frameset issue



thesavior
01-03-2006, 02:14 AM
This code, isn't working...


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "XHTML1-f.dtd" >
<html xmlns="http://www.w3.org/TR/1999/REC-html-in-xml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<frameset rows="200,*">
<frame src="frame.php" />
<frame src="http://www.thesavior.co.nr" />
</frameset></body>
</html>

When i go to the page, nothing shows up. Is there a reason for this?

glenngv
01-03-2006, 02:40 AM
Remove the <body></body> tags. The frameset tag already serves as the body tag.

thesavior
01-03-2006, 03:23 AM
it works, thanks.

soulfly
01-03-2006, 06:49 AM
hi,
just a quick note:

I know that most of the browsers support frame but to be on a safe side I would also use a noframes tag.


<noframes><body>
Your browser doesn't support frames. Upgrade your browser.
</body>
</noframes>

Regards,
Soulfly

thesavior
01-03-2006, 07:07 AM
do you need the body tags on the noframe?

soulfly
01-03-2006, 07:12 AM
yeah,
you need a body tag too to display texts on the browser that doesn't support frames.

Regards,
Soulfly



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum