how to make a column fixed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • autogoor@yahoo.com

    how to make a column fixed

    I have a table and I want the width of one column always fixed, say
    121px. How can I do it with css?

    Thanks,


    autogoor

  • Barbara de Zoete

    #2
    Re: how to make a column fixed

    On 21 Feb 2005 21:25:42 -0800, <autogoor@yahoo .com> wrote:
    [color=blue]
    > I have a table and I want the width of one column always fixed, say
    > 121px. How can I do it with css?
    >[/color]

    You're on the wrong track, my friend. This is not your personal helpdesk. Read
    on CSS and markup:

    CSS2.1:
    Starters: <http://www.w3.org/MarkUp/Guide/Style.html>
    Specification: <http://www.w3.org/TR/2002/WD-CSS21-20020802/cover.html>
    Validation: <http://jigsaw.w3.org/css-validator/>
    HTML4.01:
    Starters: <http://www.w3.org/MarkUp/Guide/>
    Specification: <http://www.w3.org/TR/html401/>
    Validation: <http://validator.w3.or g/>

    You can start with structuring tables
    <http://www.w3.org/TR/html4/struct/tables.html>.

    And please do read on tableless design and two column css design. Find what you
    need trhough Google:
    Tableless: <http://www.google.com/search?q=tablel ess+design>
    Two Column layout: <http://www.google.com/search?q=two+co lumn+layout+css >

    Read and learn from what you read. Create some work and if you run in to trouble
    with it, come back in here. We're more that happy to really help you.


    --
    ,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
    | weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
    | webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
    |zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
    `-------------------------------------------------- --<--@ ------------'

    Comment

    • phil_gg04@treefic.com

      #3
      Re: how to make a column fixed

      <table>
      <col style="width:12 1px">
      <col style="width:20 px">
      <tr><td>a</td><td>b</td></tr>
      <tr><td>c</td><td>d</td></tr>
      </table>

      Comment

      • CheGueVerra

        #4
        Re: how to make a column fixed

        Thanks for the links ... should be some good reading, Appart from reading
        the reference manual online do you recommand any other readings tyhat could
        help us neophyts ...

        TIA

        CheGueVerra


        Comment

        • sum_1

          #5
          Re: how to make a column fixed

          > ... do you recommand any other readings tyhat could[color=blue]
          > help us neophyts ...[/color]
          O'Reilly: Cascading Style Sheets: The Definitive Guide.

          Comment

          Working...