PDA

View Full Version : Noob with frames question



mulpsy
09 Mar 2007, 03:48 PM
First off I have searched this site, and couldn't find an answer :)

Im a noob at website design and want to build a page with frames. I'm sure I have the code correct -

<HTML>
<HEAD>
<TITLE>My website with frames!</TITLE>
</HEAD>
<frameset border=0 COLS="200,*">
<frame src="http://nz.yahoo.com/" name="myframe1" scrolling=yes>
<frame src="http://autism.cashhosters.com/_sgg/f10000.htm" name="myframe2" scrolling=yes>
</frameset>
<noframes>
<body>
This page uses frames, but your browser doesn't support them.
</body>
</noframes>
</HTML>

But when I ftp it to my site, its just a blank white page. Bear in mind this is ALL the code I put on the page.

I know it works as I can see it in the preview page of the program, but it just wont work on the website. I wondered if it had something to do with my browser - firefox?

I have tried 9 free progs I have downloaded, and also 4 free hosting sites. And I have spent 3 nights trying to get it right! Can someone please tell me what I'm doing wrong before I lose the plot!

Thanks for any help
Mulpsy

Wickham
09 Mar 2007, 04:13 PM
It does work in my Firefox and IE7. Your frames are external urls so there might be a delay downloading these into the frameset, but it was only about two seconds for me.

You should add a frameset doctype right at the top of the file before the HTML tag:-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

but I doubt if this is the problem.

I uploaded it to my site and it showed up so there must be something wrong with your ftp process.
http://www.wickham43.supanet.com/forumposts/mulpsy070309.html