Professional Web Applications Themes

Create liquid window between 2 tables? - Macromedia Dreamweaver

The page contains 2 tables. One at the top and one at the bottom. The tables are measured in pixels. Top one is 20 high and the bottom one is 59 high. I want to create an area between these 2 tables that would contain text etc and would need to scroll down if overflow occurs. This area would resize when the browser window is resized. How would I do this?...

  1. #1

    Default Create liquid window between 2 tables?

    The page contains 2 tables. One at the top and one at the bottom. The tables are measured in pixels. Top one is 20 high and the bottom one is 59 high. I want to create an area between these 2 tables that would contain text etc and would need to scroll down if overflow occurs. This area would resize when the browser window is resized.

    How would I do this?



    Seddon webforumsuser@macromedia.com Guest

  2. #2

    Default Re: Create liquid window between 2 tables?

    "Seddon" [email]webforumsusermacromedia.com[/email] wrote:
    > The page contains 2 tables. One at the top and one at the bottom. The
    tables are measured in pixels. Top one is 20 high and the bottom one is
    59 high. I want to create an area between these 2 tables that would
    contain text etc and would need to scroll down if overflow occurs. This
    area would resize when the browser window is resized.
    >
    You're not saying if you want the widths of the top and bottom tables
    expand when window is resized. Assuming you want them fixed width (e.g.
    700px) while the "main content" expands, you can use this table:

    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td valign="top">
    <table width="700" border="0" cellspacing="0" cellpadding="0"
    align="center" height="20">
    <tr>
    <td>&nbsp;</td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td valign="top">&nbsp;</td>
    </tr>
    <tr>
    <td valign="top">
    <table width="700" border="0" cellspacing="0" cellpadding="0"
    align="center" height="59">
    <tr>
    <td>&nbsp;</td>
    </tr>
    </table>
    </td>
    </tr>
    </table>

    Please note that the height of top and bottom tables will not work if
    you don't put some content in them, e.g. a shim or an image that's
    exactly 20 resp. 59 px high.

    If you want the top and bottom tables to expand with the browser width,
    too, yopu can actually remove them and place the content straight in the
    upper and lower cells.

    HTH
    --
    Dan Vendel - *GOF*
    [url]http://www.vendel.info[/url]
    Contact me directly by clicking here:
    [url]http://contact.vendel.info[/url]
    Formmail tutorial:
    [url]http://www.vendel.info/tut/formmail.html[/url]
    Nested table demonstration:
    [url]http://www.vendel.info/tabletut/[/url]

    Dan Vendel *GOF* Guest

Similar Threads

  1. create tables in pdf using perl
    By Mohamed Parvez in forum PERL Modules
    Replies: 3
    Last Post: March 30th, 10:46 AM
  2. Create tables with 'drag-to-resize' columns
    By synnott in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: October 24th, 04:00 PM
  3. create window / kill window
    By chillyj in forum Macromedia Flash Actionscript
    Replies: 0
    Last Post: March 3rd, 05:53 AM
  4. Anybody Know anything about Liquid Web
    By shogo2040 webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 0
    Last Post: October 31st, 06:27 AM
  5. How to create tables referenced each other
    By Jim in forum Oracle Server
    Replies: 6
    Last Post: July 2nd, 08:09 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139