Posted: Thu Jul 17, 2008 1:24 am I Have Problem With Frameset
Hi,
I'm trying to use frameset to create my webpage. Not sure about the problem. Please help. I click on the link on the left side ( which is the menu ), it pop up a new window to open the link. The correct way should be open on the right side. Something wrong somewhere, please help. I suspect is my html code on the left side having problem. Please let me know how to create the left side html file. Thanks.
sticks464
Joined: 31 Dec 2006
Posts: 2629
Posted: Thu Jul 17, 2008 4:16 am
Show us your code. Most likely it is incorrect target attributes on your links.
the format correct? what should i put for the content.html?
should be something wrong somewhere that's why got problem.
sticks464
Joined: 31 Dec 2006
Posts: 2629
Posted: Thu Jul 17, 2008 7:27 pm
If you use <FRAME SRC="content.html" NAME=CONTENT> then you must match this with your links target attribute TARGET="CONTENT" not TARGET="contentFrame". CONTENT and content or contentFrame are not the same. html normal markup is not case sensitive except where you are creating links to certain names.
Also use the frameset doctype
Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">