Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.


Results 1 to 4 of 4

Thread: <tables> in .css without any <tables>

  1. #1

    <tables> in .css without any <tables>

    Ok I am new to .css

    Going to be pulling info from mysql and displaying it in repeating nestled tables via a php loop.

    like a products page with a images, discriptions prices for each item etc.

    I am going to import a .css page for style.

    Question whats the best way to do this.

    I can create a <table> with losts of nestled tables and use the .css to position and style it.


    I could forget all the <tables> and place each item in its right place using .css.

    Is that taking .css to far.... Is the performance gain of not using lots of nestled tables worth while ?

    Or have I lost the plot here !

  2. #2
    if you're displaying tabular data, like a table of info, then use tables. The big anti-table thing is for tables being used as design, like what you get when you create a website with HTML created from ImageReady or Fireworks. They use tables to implement the design. That kind of table use is frowned upon. Its your design that should be implemented with css, not content. If you have tabular content, table away

  3. #3
    Thanks for the response....

    LOL well I would never use Fireworks etc. to code a page for me. I am lazy but could never commit such a sin.

    I was just reading up on Webmonkeys on every way to squeeze performance from a site. It said nestled tables are not good, although that was more for the pre-pentium day.
    I figured now I could do it all in css, but just didn't know if it was worth it.

    Just checked out your site... Don't know when you updated it.. But it sure is a sweet design.

  4. #4
    updated? My sites been like that for a couple of years I think

    As for performance, nested tables can be "slower" but really, any excessive use of code is slower. The simpler you can be the better.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About kirupa.com Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012