[thelist] layers not frames

Andrew Maynes andrew at humanbehaviour.co.uk
Fri Nov 22 17:31:00 CST 2002


the only problem I see with this is the height.  If there isn't any text there
the height is still there!  There may not be any text on some of the pages.

Andrew

--
[ Picked text/plain from multipart/alternative ]
At 02:23 PM 11/22/2002, you wrote:
>if you have looked at the link it should be clear that the nav bar should be
>sitting along the bottom of the browser 800x600   however when there is
>text in
>the last <td> within the table above it, the bottom table get pushed down,
>which
>one would expect.

         Okay. I get it now!

         The problem is that you're using tables to do layout.

         The following should work. (Look at it a bit and work out how to
adapt it to your own needs.)

         You'll still need an extra scrollbar, yes.

<table>
         <tr>
                 <td style="height: 600px">
                         <div style="height: 400px; overflow: auto">
                                 <div id="uselessDiv" style="height: 800px">
                                         This is where the body content
would be.
                                 </div>
                         </div>
                         <div style="height: 200px">
                                 This is where the nav bar would be.
                         </div>
                 </td>
         </tr>
</table>

-M
--

-




More information about the thelist mailing list