#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Location
    West Midlands, U.K.
    Posts
    47
    Rep Power
    12

    Another CSS Table Related Question


    Hi,

    I have webpage with two main tables. The second of the two is the one I will be discussing.

    I would like it positioned directly below the top table (height 100px). I can position it via absolute/relative no problemo.

    However, the layout of this table is the problem. It is a 3 column table. I want the columns on the left and right to be static and for the middle column to fit the space between them

    COL_1: 150px
    COL_2: Fill Gap
    COL_3: 150px

    Ony way so far is to set the width of the left and right column. Problem with this is that it doesn't pass the validity tests on Watchfires website.

    Any help would be great,

    Cheers

    Janusz
    http://www.xlibris.co.uk
    http://janusz.monkey-it.co.uk
  2. #2
  3. Retired
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Finland
    Posts
    9,143
    Rep Power
    2493
    Hi, how do you define the width?
    Have tried something like this?
    Code:
    <td style="width: 150px">1</td>
    <td>2</td>
    <td style="width: 150px">3</td>
    HTH

    Cheers,
    Jamie

    >_ skiFFie ? | Twitter

    __________________

    Let the might of your compassion arise to bring a quick end
    to the flowing stream of the blood and tears .....
    Please hear my anguished words of truth.

    __________________
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Location
    West Midlands, U.K.
    Posts
    47
    Rep Power
    12

    Nice


    Cheers,

    I got mixed up between this and the max version... is the code you gave ok in earlier browser versions?

    Janusz
    http://www.xlibris.co.uk
    http://janusz.monkey-it.co.uk
  6. #4
  7. Retired
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Finland
    Posts
    9,143
    Rep Power
    2493
    Not sure. What level of validation are you trying to get?

    Cheers,
    Jamie

    >_ skiFFie ? | Twitter

    __________________

    Let the might of your compassion arise to bring a quick end
    to the flowing stream of the blood and tears .....
    Please hear my anguished words of truth.

    __________________
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Location
    West Midlands, U.K.
    Posts
    47
    Rep Power
    12

    Hmm


    I can get bobby and 508 from watchfire so that's all I am after 2 B honest.

    I also got CSS and XHTML 1.0

    Janusz
    http://www.xlibris.co.uk
    http://janusz.monkey-it.co.uk

IMN logo majestic logo threadwatch logo seochat tools logo