Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: tables vs. css

  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Canada
    Posts
    253
    Thanks
    0
    Thanked 0 Times in 0 Posts

    tables vs. css

    this is an overall "style" type of question...

    there are many places that promote the use of css positioning to create the layout and keep tables for tabular data.

    so what does that last part mean? if i have like some stuff to be in a "table" format (rows and columns) it is ok to use tables within the positioned divs (layout).

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Location
    This little Earth.
    Posts
    383
    Thanks
    0
    Thanked 0 Times in 0 Posts
    that's right, just for tabular data.
    css is much cleaner, quicker and more powerful, and makes it very simple to update or change the whole look of your site.
    and tables are just for .... tables. structured columns and rows of data. that's what tables were meant to be for in the first place, before web designers started using zillions of nests of tables to create all sorts of twisted and highly-unsightly layout codes.
    if u really need the table it's fine to have it in your layout anyway you like... just don't create layouts using tables.
    Last edited by ASAAKI; 03-10-2003 at 03:37 PM.
    'If you don't stand for something, you'll fall for anything.'

  • #3
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    in all reality, a table based layout will work just fine, but we try and stray from that, there are (eventually) going to be much better ways to easily accomplish this.
    however zillions of nested table tags can be bothersome.
    i would go for CSS as well, although you may run into some problems (which i wont go into, if you run into them then youll know ).
    but make sure your page is built with semantics in mind, then use standard compliant CSS, and you have a pretty easily accesible page without trying too hard.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •