Building a Table with Css

Discussion in 'CSS' started by +:::Spider25:::+, Apr 29, 2006.

  1. #1
    Hi,
    Does anybody has a code for building a table (of course without <table> tag)?

    Thanks a lot
     
    +:::Spider25:::+, Apr 29, 2006 IP
  2. johneva

    johneva Well-Known Member

    Messages:
    1,480
    Likes Received:
    46
    Best Answers:
    1
    Trophy Points:
    170
    #2
    johneva, Apr 29, 2006 IP
  3. +:::Spider25:::+

    +:::Spider25:::+ Peon

    Messages:
    69
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes I do. Only with divs
     
    +:::Spider25:::+, Apr 29, 2006 IP
  4. daskin sorge

    daskin sorge Guest

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The simple expedient is "float".

    【ex】
    html
    <div class="column"><p>â—‹â—‹</p></div>
    <div class="column"><p>â—‹â—‹</p></div>
    <div class="column"><p>â—‹â—‹</p></div>

    css
    .column{
    width:33%;
    float:left;
    }
     
    daskin sorge, Apr 30, 2006 IP
  5. SoxFan

    SoxFan Peon

    Messages:
    90
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you are building a table of data, then it is best to use the <table> tag, semantically speaking of course.
     
    SoxFan, May 1, 2006 IP