Formating?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
benjaminj88
Forum Newbie
Posts: 21
Joined: Fri May 02, 2008 2:31 pm

Formating?

Post by benjaminj88 »

Alright well I have a quick question. Which would be best? I'm coding my site, and I want a three column layout, with a banner and a footer above and below the three columns. Alright well, I don't want to have the three columns on all my pages, but none the less should i use a three column table with divs inside it, or just div the whole thing?
What are the pro's and cons of each if you know?


thanks,
me
User avatar
chaos
Forum Newbie
Posts: 22
Joined: Thu May 15, 2008 9:20 am
Location: New Jersey

Re: Formating?

Post by chaos »

The dominant meme on the topic seems to be that you should never, ever use tables for layout. Since pure-CSS div-based layout, as far as I can tell, does not work worth a damn for a huge number of objectives that tables meet easily, I am kinda skeptical of this.

I would say, see if you can actually do it adequately with divs, since if you can then you'll be all Web-maven-propaganda compliant, and use tables when divs fail.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Formating?

Post by Eran »

Post Reply