CSS or Tables

Discussion in 'Web Design, HTML And CSS' started by ryan, Aug 21, 2006.

  1. ryan

    ryan New Member

    Joined:
    Aug 19, 2006
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    0
    Do you use CSS or Tables. CSS is the newest technology alowing you to control the HTML. The CSS is used in layers (divs) which allows you to combine the functions of HTMl & DHTML in some easy to read non complicated code.

    So what do you use CSS or tables?
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    Mostly tables, because different browsers display the CSS divs differently, and moreover Table gives you more flexibility over your design.
    What do you say?
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    I would use both. I use CSS for making the layout dynamic and it has an added benefit of reducing the code. Say I have 10 tables to apply the same style. Definitely moving the style to CSS is better.

    Also if I have CSS I can move around with the main content of the site.
     
  4. ryan

    ryan New Member

    Joined:
    Aug 19, 2006
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    0
    I use CSS to get all the fonts, colors, effects. And use divs to make different areas of the page. I use tables only when I have to because it creates lots of code which can easily bedone differently.
     
  5. Mike Good

    Mike Good New Member

    Joined:
    Aug 15, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    I always CSS and divs. I only use tables when I have to. Which is very rare. I like my code to be valid.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice