View Full Version : frame problem

12-11-2009, 02:43 PM
Hi, everyone.

I have a frame problem.

But first here what I am trying to do.
Top page 1st frame = I want my banner on the top frame.
Left of the page No frame = I want my main page to the left of the screen and working as if there where no frame.witch also will include and ( accordion menuto the left)
Right of the page 2nd frame = I want my list of links ( accordion menu) in the right frame.
I need frame because I canít put 2 different set of menu on each side of the page, and frame seem to be the only option for that.

Now I was able to make frame and each of them work, when they are on different pages.
When I put all my frame on the same page only one will appear can you please tell me what I am doing wrong and how to make right frame attach to my left frame and both working as one page?

Please if you canít help me or donít understand what I am trying to do let me know.

Thank for your time.

Here my code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<iframe src="banner.html" width="775,*," height="140,*," align="" frameborder="" marginwidth="" marginheight="" scrolling="yes|no|auto">If you can see this, your browser doesn't
understand IFRAME. <a href="file:///C|/Users/marie/Desktop/New Web/banner.html"></a> </iframe>

<frameset cols = " *,60 ">
<frame src ="main.html" /><a href="file:///C|/Users/marie/Desktop/New Web/main.html>
<frame src ="menu.html" /><a href="file:///C|/Users/marie/Desktop/New Web/menu.html>



12-11-2009, 03:35 PM
I doubt you are trying to accomplish something similar.


<frameset rows="50%,50%">

<frame src="frame_a.htm">

<frameset cols="25%,75%">
<frame src="frame_b.htm">
<frame src="frame_c.htm">




I also suggest you check the following link:

Important: You cannot use the <body></body> tags together with the <frameset></frameset> tags! However, if you add a <noframes> tag containing some text for browsers that do not support frames, you will have to enclose the text in <body></body> tags! See how it is done in the first example below.

12-11-2009, 04:33 PM
Hello prop,
It seems you should be using a Frameset DocType instead of your Trasitional one.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
Then you could run your code through the validator to fix several errors. See the links about validation in my sig below.
Also have a look at this site (http://www.w3.org/TR/REC-html40/present/frames.html)as well as the ones tagnu has linked you to.