Why I will use CSS Instead of Table?

Discussion in 'HTML & Website Design' started by Alam, Apr 11, 2007.

  1. #1
    My CSS concept is very poor.

    Can any one tell me why I will use CSS to placing an obejct (Images or others) insteat of Tables. I have seen some pages where designer has used only CSS to placing objects without any table.

    What are the benefits????? :confused:
     
    Alam, Apr 11, 2007 IP
  2. dmi

    dmi Well-Known Member

    Messages:
    2,705
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    140
    #2
    To increase the speed, to ensure multiple browser compatibility, to follow the curret web standards.
     
    dmi, Apr 11, 2007 IP
  3. Bagi Zoltán

    Bagi Zoltán Well-Known Member

    Messages:
    364
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #3
    And it will transform your source code more SE friendly, and in many cases it boost the rankings as well by improving visible text / code size ratio.
     
    Bagi Zoltán, Apr 11, 2007 IP
  4. Alam

    Alam Active Member

    Messages:
    316
    Likes Received:
    91
    Best Answers:
    0
    Trophy Points:
    68
    #4
    Thanks for quick reply :)

    Have any options to create multiple column like table using CSS?
     
    Alam, Apr 11, 2007 IP
  5. RovingCalypso

    RovingCalypso Well-Known Member

    Messages:
    2,467
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    138
    #5
    Alot. For one, you'll be keeping the design part and the working part of your code separate.

    Also, I find it very simple compared to tables. I mean you know (atleast I do), where to find what instead of checking out tables, which are also cluttered with working code .
     
    RovingCalypso, Apr 11, 2007 IP
  6. Bagi Zoltán

    Bagi Zoltán Well-Known Member

    Messages:
    364
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #6
    Of course there are opportunities. Place two indepentend divs with content into the code, give them different id. All you have to do is to positioning those divs for instance like this {position:absolute;left:20px;top:200px;}.
     
    Bagi Zoltán, Apr 11, 2007 IP
  7. boyponga

    boyponga Banned

    Messages:
    1,013
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Search engine purposes, and lighter compared to the tabled sites. :)
     
    boyponga, Apr 11, 2007 IP
  8. Alam

    Alam Active Member

    Messages:
    316
    Likes Received:
    91
    Best Answers:
    0
    Trophy Points:
    68
    #8
    Thanks to all for your kind cooperation.

    I have get littlebit idea on CSS and need to study more regarding this :)

    Thanks again
     
    Alam, Apr 11, 2007 IP
  9. dmi

    dmi Well-Known Member

    Messages:
    2,705
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    140
    #9
    You don't use tables. You use divs.

    <div id="container">
    <div id="div1left"></div>
    <div id="div2right"></div>
    </div>

    Of course, in CSS you define all those id's.

    Play around with it.
     
    dmi, Apr 11, 2007 IP
  10. chiz

    chiz Peon

    Messages:
    102
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #10
    chiz, Apr 11, 2007 IP
  11. TextbookSwapShop

    TextbookSwapShop Peon

    Messages:
    78
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Has anyone tried to put a table up into a wordpress blog post? If you're like me and don't know jack about coding, you're in trouble. I just ended up using a table :(
     
    TextbookSwapShop, Apr 11, 2007 IP