Valign body.

JavaScript and client side scripting.

Moderator: General Moderators

User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

plus every time you post a table layout here, we're all going to laugh at you.

One reason to design w/css and tables is being demonstrated on a site I'm building right now. I just switched out the css document and I have an entire new website. I have 4 different css files and they all change the way the site is displayed DRASTICALLY. you can't do that with tables... because they delegate where and how things display within the markup.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

That is a very good point Ninja. Extensibility is nice to have all the time.
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

Post by JellyFish »

I understand...

Could you use tables with disign layouts at all? There are somethings that tables can do that divs can't right?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

No, there is nothing that tables can do that proper CSS can't accomplish.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

About a week ago, I would have agreed with JellyFish. But, I just made two clients' websites using CSS (I used to use CSS applied on almost every table, but I wasn't quite there yet) and wow. I mean, there was a learning curve since we all started out with tables (at least I'm pretty sure we all did) and it takes a bit to get used to, but after you get it you see how much more you can accomplish.

I used to have to cut so much of a website's design to end up with the correct layout (not to mention numerous IE6 spacing issues) and even though the second company I work for still uses tables, I through pure CSS in the script I do from time to time.

I was skeptical, but now I believe. :-p
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I can speak from experience. I was a tables only kinda guy until about six months ago. When I went full time into development, I went 100% CSS and I can honestly say that I can knock out an entire design without tables faster than I could with.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Everah wrote:I can speak from experience. I was a tables only kinda guy until about six months ago. When I went full time into development, I went 100% CSS and I can honestly say that I can knock out an entire design without tables faster than I could with.
The reason I say that sometimes you need tables to do it quick and dirty is because I work for a marketing/design firm that does web development. The sites that are designed are really not designed by people who understand how they are going to be laid out later, and in some cases, the quickest and easiest way to get them to work is to just cut them up and throw them in a table.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

The Ninja Space Goat wrote:The reason I say that sometimes you need tables to do it quick and dirty is because I work for a marketing/design firm that does web development. The sites that are designed are really not designed by people who understand how they are going to be laid out later, and in some cases, the quickest and easiest way to get them to work is to just cut them up and throw them in a table.
I can understand that. But for me it is literally easier to throw together a CSS controlled layout than it is to try to figure out how the tables will do it. It might be because I haven't used table for layouts in a long time. Or it might be that the thought of using a table as a design controller makes me sick.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Everah wrote:
The Ninja Space Goat wrote:The reason I say that sometimes you need tables to do it quick and dirty is because I work for a marketing/design firm that does web development. The sites that are designed are really not designed by people who understand how they are going to be laid out later, and in some cases, the quickest and easiest way to get them to work is to just cut them up and throw them in a table.
I can understand that. But for me it is literally easier to throw together a CSS controlled layout than it is to try to figure out how the tables will do it. It might be because I haven't used table for layouts in a long time. Or it might be that the thought of using a table as a design controller makes me sick.
Now how could you say such a thing? Throwing everything into those miniature nested spreadsheets was so much fun! :wink:
Post Reply