Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all ,

What do you advice me to use ? table less or table based design in my websites ?

Thanks in advance.
Posted

Depends partly on what you're trying to do, and partly on personal preference. A simple page, with maybe a logo across the top, a left or right sidebar and then a main content area is well-suited for a table. And tables make it easy to keep content separated and organized.

On the other hand, using CSS gives you many options tables do not. Absolute positioning of elements, overlapping elements and dynamic content are better served by avoiding tables since they limit your options in this regard.

And of course if you're displaying tabular data a table is the best way to go, imo.

I personally use tables a lot with my own site [^]. I use a 2-column table with 3 rows. The top row has one column with the colspan attribute set to 2. Then the next row has 2 columns, one being a narrow sidebar on the left and the other is home to the main content of the page. Then the bottom row also spans 2 columns and contains the page's footer. Nice and simple.

I'd also recommend learning the basics of PHP[^]. Using the PHP "include" command allows you to base much of your site on templates you make yourself. Updating the site becomes much easier, and you're still using plain old HTML, but with the include command to import content.
 
Share this answer
 
My suggestion is If you are familiar with table-less design then go with that because it has many advantages. In table design I hate the page loading time.

Here a bunch FYI
13 Reasons Why CSS Is Superior to Tables in Website Design[^]
Tableless web design[^]
From table-based to tableless web design with CSS – Part 1: CSS Basics[^]
Tables-layout versus Tableless-layout[^]
Benefits of Table Less CSS/ XHTML Web Design Technology[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900