How can use css instead of tables

Discussion in 'CSS' started by ade92uk, Mar 10, 2009.

  1. #1
    Hi, please make a web search on this page: http://obolynx.com - view the source code and you will see that i use tables for where the buttons are, can soemone tell me please how i would get them like that without using tables.

    I tried using divs but it has the buttons below each other, not on the same line.

    Thanks.
     
    ade92uk, Mar 10, 2009 IP
  2. Noc

    Noc Active Member

    Messages:
    485
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #2
    With divs you could float them or use absolute positioning?
     
    Noc, Mar 12, 2009 IP
  3. DREAM SIZE

    DREAM SIZE Active Member

    Messages:
    103
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    Float them left like Noc said.
     
    DREAM SIZE, Mar 12, 2009 IP
  4. krishmk

    krishmk Well-Known Member

    Messages:
    1,376
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    185
    #4
    try using "display:inline" for divs (with float:left/ right). That should make it up in single line instead of block elements.

    This should work only if you set width for the "divs"
     
    krishmk, Mar 13, 2009 IP