Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frame or Iframe 1

Status
Not open for further replies.

pgtek

Programmer
Sep 28, 2001
1,180
CA
hi
i have a frameset on my web page 2 parts
hearder.htm and main.htm
what would be better to have a frameset or IFrame

Heres what i got

index.htm (deafault page) contains
frameset header.htm
nav.htm
main.htm

If frame set is better
what would be the syntac to create this

Thank you

pgtek
 
Iframes are less well supported and more quirky than Framesets. For a Frameset code something like this:

<frameset rows=&quot;140,*&quot; border=&quot;0&quot; frameborder=&quot;0&quot;>
<frame src=&quot;nav.htm&quot; name=&quot;NAV&quot; scrolling=&quot;no&quot; />
<frame src=&quot;main.htm&quot; name=&quot;MAIN&quot; scrolling=&quot;yes&quot; />
</frameset>
<noframes><body>
<a href=&quot;nav.htm&quot;>View Noframes Version</a>
</body></noframes>

Clive
 
Sorry I mis-read the question.

<frameset cols=&quot;300,*&quot; border=&quot;0&quot; frameborder=&quot;0&quot;>
<frame src=&quot;nav.htm&quot; name=&quot;NAV&quot; scrolling=&quot;auto&quot; />
<frameset rows=&quot;140,*&quot; border=&quot;0&quot; frameborder=&quot;0&quot;>
<frame src=&quot;head.htm&quot; name=&quot;HEAD&quot; scrolling=&quot;no&quot; />
<frame src=&quot;main.htm&quot; name=&quot;MAIN&quot; scrolling=&quot;auto&quot; />
</frameset></frameset>
<noframes><body>
<a href=&quot;nav.htm&quot;>View Noframes Version></a>
</body></noframes>



Clive
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top