Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Aug 2002
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    column width changing independently

    sorry for the poor title. I can't figure out how to explain this is six words or less. :-)

    http://dev.msboa.org/dist5/

    If you go to the link above, you will see that I am using a two column layout with a template system. The left column is indicated to be width:150px. In the index page and some others, the width looks correct. But on other pages (click on the job listing link as an example), the left column changes its width on its own. I hate this! :-)

    I am trying to find out how to FORCE the left column to stay the same width no matter what I throw in the right column.

    BTW, this is being testing on Mac IE 5.2. I know it is rendered correctly in Mozilla 1.0, so I'm guessing this is an IE-only problem.

    I appreciate the time!

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    NL
    Posts
    421
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try giving the second column a width of 100%.

    <table width="100%">
    <tr>
    <td width="150"></td>
    <td width="100%"></td>
    </tr>
    </table>

  • #3
    New Coder
    Join Date
    Aug 2002
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts
    that didn't work. As a kludge, I have put in a long string of text that has the visibility set to hidden. Since it forces the table to be as wide as possible, it seems to work. Kind of in-elegant though.

  • #4
    Regular Coder
    Join Date
    Jul 2002
    Location
    Raleigh, NC
    Posts
    484
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't know if this works with tables, but it does with frames...

    <table width="100%">
    <tr>
    <td width="150"></td>
    <td width="*"></td>
    </tr>
    </table>
    -WebMark Art
    Programming is 80% thinking and 20% spelling

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    NL
    Posts
    421
    Thanks
    0
    Thanked 0 Times in 0 Posts


  •  

    Posting Permissions

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