Forums / General Questions / Do I have to use tables?

Do I have to use tables?

Locked

Views: 821

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
12 Nov 2007, 4:54 AM
#1
justinae avatar

justinae

New Zenner

Join Date:
Nov 2007
Posts:
27
Plugin Contributions:
0

Do I have to use tables?

I am editing the tpl_main_page.php file and see that it uses a table structure. Is it possible to remove that and replace it with a DIV tag? Why are tables even used when everything else is CSS driven?

thanx,
Justin

12 Nov 2007, 8:11 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Do I have to use tables?

Because (when the current structure was developed a year or two ago) there was not a robust (i.e. fool-proof) enough method of building a 100% tableless dynamic PHP-generated page structure (as opposed to a static HTML-generated page).

Some people have managed to make their Zen Carts totally tableless, and acknowledged that it was very difficult. An upcoming version will reportedly be 100% tableless in its layout (aside from tabular data).

13 Nov 2007, 3:22 PM
#3
justinae avatar

justinae

New Zenner

Join Date:
Nov 2007
Posts:
27
Plugin Contributions:
0

Re: Do I have to use tables?

great. thank you for clearing that up. I think i'll leave it as is and wait for the updated version. :)