Jump to content

[SOLVED] Frameset question


amalosoul

Recommended Posts

<frameset>
<table><tr><td><frame src=up.html name=top></td></tr>
<tr><td><frame src=down.html name=down></td></tr></table></frameset>

 

I have the code above but it only loads the first page up.html and ignores the second. Can anyone tell me why?

(I want to use a table because it automatically resizes)

 

Thank you in anticipation!

Link to comment
https://forums.phpfreaks.com/topic/41105-solved-frameset-question/
Share on other sites

Cant have html and framesets mixed together.

 

When you are setting up frames all you do is this:

<frameset>
  <frame name="top" [width and hight here etc] src="top.html" />
  <frame name="bottom" [width and hight here etc] src= "bottom.html/>
</frameset>

 

Your do not include any other html code. in the page. Expcet for the use set of tags html, head, title and body

 

However there is another type of frame you can use and that's called the inline frame (<iframe></iframe>) which what you use to include an extra web page/website in side your page without setting up a frameset.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.