Thread: HTML help
View Single Post
Old 04-20-2003, 08:23 PM   #4 (permalink)
fox128
Rookie
 
Join Date: Apr 2003
That example page you posted uses frames... the only real difference with that vs tables is that with frames, part of the page can scroll independently.

With tables:
Code:
Title Up Here
<.table>
   <.tr>
      <.td>
         <.a href="link.html">Nav Link<./a><br />
         <.a href="link.html">Nav Link<./a><br />
         <.a href="link.html">Nav Link<./a>
      <./td>
      <.td>
         And you put all the page content over here.
      <./td>
   <./tr>
<./table>
With frames:

You have one file that defines the frames:
Code:
<.frameset rows="150,*" framespacing="0" border="0" frameborder="0">
   <.frame name="title" scrolling="no" noresize src="title.html">
   <.frameset cols="150,*">
      <.frame name="navbar" target="main" src="navbar.html" scrolling="auto">
      <.frame name="main" src="main.html" target="main"  scrolling="auto">
   <./frameset>
<./frameset>
title.html:
Code:
Title Up Here
navbar.html:
Code:
<.a href="link.html">Nav Link<./a><.br />
<.a href="link.html">Nav Link<./a><.br />
<.a href="link.html">Nav Link<./a>
main.html:
Code:
And you put all the page content over here.
Of course, you would delete all the periods that I put in the code. (They're just there because the forum is not rendering html as text)

Last edited by fox128; 04-20-2003 at 08:37 PM.
fox128 is offline   Reply With Quote