Results 1 to 2 of 2

Thread: Need table help

  1. #1
    Join Date
    May 2006
    Posts
    3

    Need table help

    Forgive me for is these noob questions but everyone has to start out somewere.
    Im putting together a website and slicing it in firworks. Now im not sure if im slicing it wrong or setting up the tables wrong but here is my problem.

    My website is setup to have banner top and then a vertical navigation menu that goes about half way down the left side of the page and the a content box to the right. I want to have an expandable conten area that expands with the text but i cant seem to figure out a way to make a content area that expands without expanding the navigation menu on the left. Is there way i can have an expandable content area that doesnt effect the left vertical navigation menu.

    Any help would be greatly appreciated and thank you for taking your time to read this.

    Thank you
    Daniel

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    See this example:-
    http://www.wickham43.supanet.com/for...ivexample.html
    <body>
    <div style="width: 100%; background-color: green;"> <!--container-->
    <div style="width: 100%; background-color: red;">
    Banner across top of page
    </div>
    <div style="width: 200px; float: left; height: 300px; background-color: pink;">
    Left column menus
    </div>
    <div style="margin-left: 200px; background-color: yellow;">
    text text text text text<br>
    text text text text text<br>
    text text text text text<br>
    </div>
    </div> <!--end of container-->
    </body>

    PS I've just noticed that you asked for the table solution so I have added it below in the example online. Basically you put a table with fixed height inside the left cell of the main table.
    <table width="100%" cellspacing="0"><tr>
    <td colspan="2" bgcolor="red">Banner</td></tr>
    <tr>
    <td width="200" valign="top" bgcolor="green">
    <table width="200" height="300" bgcolor="pink"><tr><td
    valign="top">Left inner table column</td></tr></table>Left
    outercolumn</td>
    <td bgcolor="yellow">Text column<br>
    text text text text text<br>
    </td>
    </tr></table>
    Last edited by Wickham; 18 May 2006 at 12:52 PM.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. Table probs
    By orange_juice in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 13 Nov 2005, 09:43 PM

Posting Permissions

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