divs instead of tables

Started by flapjack, April 07, 2011, 10:30:26 AM

Previous topic - Next topic

flapjack

is there any reason why Curve is so extensively using tables? wouldn't it be a better choice to use divs instead?

Suki

Curve is the default theme, but you can always make yours without using tables.

I don't know why the persons who did curve used tables, compatibility comes to my mind, you know IE6, different resolutions, etc
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

flapjack

last night I've rewritten tabs to divs in BoardIndex.php and it worked like a charm even under IE7

Matthew K.

Miss All Sunday - Bloc designed Curve.

flapjack - SMF still has some tables in templates, I do personally agree that more divs could be used, although the argument is that the only remaining tables are acceptable because they are used to display something that could be categorized as tabular data.

Suki

yes, I did that too.


point is, even if curve is made with tables, nothing can stop you from doing your theme in your own way.

@Labradoodle-360   I know :)  and I know he has very valid reasons.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Hj Ahmad Rasyid Hj Ismail

Quote from: flapjack on April 07, 2011, 11:20:15 AM
last night I've rewritten tabs to divs in BoardIndex.php and it worked like a charm even under IE7
I like.


Why don't anybody made a tableless Curve then? Impossible, difficult or we still need that table...

Matthew K.

Actually, it's quite easy to reconstruct the boardindex using divs instead of tables. Very time consuming, yes, but not very difficult.

There are a few instances where I think tables are necessary in SMF.

Advertisement: