What's wrong with my FRAMESET?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mjseaden
Forum Contributor
Posts: 458
Joined: Wed Mar 17, 2004 5:49 am

What's wrong with my FRAMESET?

Post by mjseaden »

Code: Select all

</body>
    	<frameset rows="50,*" border=0>
	<frame name="navigate" src="http://www.domain1.com/linkrd.html" scrolling = "no" marginheight=1 noresize style="border-bottom: 2px solid #333366;">
	<frame name="partner" src="http://www.domain2.com/mainpage.html" marginheight=1>
	</frameset>
	<noframes>
	The link that you are following will take you to partner site.  To continue click 
	<A HREF="http://www.domain2.com/mainpage.html">here</A>.
	</noframes>
	
	</html>
I have tried this code with both </body> before and after <frameset>, however in both cases I just get a blank screen. Both domains (on my actual code) point to valid links. Can anyone tell me why this is coming up blank?

Many thanks

Mark
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

Nothing, as far as I can see.
mjseaden
Forum Contributor
Posts: 458
Joined: Wed Mar 17, 2004 5:49 am

Post by mjseaden »

But it still turns up blank! :(
evanz
Forum Newbie
Posts: 6
Joined: Wed May 19, 2004 8:44 am

Post by evanz »

I think you should remove "<body>" completely from the code.
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

you can't have <body> in the same document where your <frameset> resides.
mjseaden
Forum Contributor
Posts: 458
Joined: Wed Mar 17, 2004 5:49 am

Post by mjseaden »

Thanks!
Post Reply