Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14

Thread: Layout Basics

  1. #11
    Senior Member seanmiller's Avatar
    Join Date
    Sep 2003
    Location
    Glastonbury, UK
    Posts
    868
    Member #
    3263
    Liked
    1 times
    Just a quick question.... if I want static sidebars, but a liquid middle section, what is the best way to do this?

    ie. what I *want* would be something like...

    <td width="200">....</td>
    <td width="100%">....</td>
    <td width="200">...</td>

    (Keep the two sidebars 200 pixels, then use 100% of whatever is left for the central content section)

    I assume the main reason that it doesn't work is that at the time that the second column is assessed by the HTML parser it has no way of knowing what is coming next?

    But is there a way to achieve the same thing?

    Sean

  2.  

  3. #12
    Senior Member splufdaddy's Avatar
    Join Date
    Feb 2003
    Location
    Boston, MA
    Posts
    4,488
    Member #
    735
    Try this (generated by DW, tested in IE6 and Netscape 7):
    Code:
    <table width="100%
    " border="0" align="center" cellpadding="0">
      <tr>
        <td width="200" bgcolor="#0000FF">&nbsp;</td>
        <td>&nbsp;</td>
        <td width="200" bgcolor="#0000FF">&nbsp;</td>
      </tr>
    The different bg colors showed that the columns were where they should be.

  4. #13
    Senior Member seanmiller's Avatar
    Join Date
    Sep 2003
    Location
    Glastonbury, UK
    Posts
    868
    Member #
    3263
    Liked
    1 times
    Yes, that appears to work!

    Sure I tried that and had problems... perhaps I didn't??

    Anyway, thanks a lot... gives me what I need :-)

    Sean

  5. #14
    Junior Member
    Join Date
    Apr 2005
    Posts
    1
    Member #
    9802
    Quote Originally Posted by splufdaddy
    Try this (generated by DW, tested in IE6 and Netscape 7):
    Code:
    <table width="100%
    " border="0" align="center" cellpadding="0">
      <tr>
        <td width="200" bgcolor="#0000FF">&nbsp;</td>
        <td>&nbsp;</td>
        <td width="200" bgcolor="#0000FF">&nbsp;</td>
      </tr>
    The different bg colors showed that the columns were where they should be.
    Thank you, that really helped.. And I am sorry if I brought up an old post, I just did a search on google and got this. Thanks again!


Page 2 of 2 FirstFirst 1 2

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:51 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com