Are you still using tables?
Moderator: kfury77
- Karlis
- Site Admin
- Posts: 3605
- Joined: Mon Jul 15, 2002 5:24 pm
- Location: Riga, Latvia, Europe
- Contact:
Are you still using tables?
I know, this is the age of CSS layouts and DIV layers, but I find myself very often in a situations when:
Case 1: using a tables is much faster and the code is much easier to understand
Case 2: css and div just can not do (in all browsers) what the table can
Am I the only one?
Case 1: using a tables is much faster and the code is much easier to understand
Case 2: css and div just can not do (in all browsers) what the table can
Am I the only one?
- syrupcore
- Top Contributor
- Posts: 917
- Joined: Thu Jul 21, 2005 12:58 am
- Location: Portland, Oregon, usa
- Contact:
yes.
kidding, of course.
Table code is only easier to understand because you already know it, I promise. Clean semantic HTML is much much easier to read. So much less code! Once you get used to it, it's a breeze. Your content is in one spot and it's display is separated. Same basic principle as MVC in 'real' programming.
I've been tableless for about 4 years now. I can't think of anything I could do in tables that can't be done with plain HTML and css. Sometimes, the css has to get tricky to get it to work across browsers but then your hacks are confined to a single place instead across your whole site. Is there something in particular I can help with?
IE6 will make you go grey but you learn it's quirks. I'm gonna get a Microsoft tatoo in my bald spot. I fully blame them for it.
Will

Table code is only easier to understand because you already know it, I promise. Clean semantic HTML is much much easier to read. So much less code! Once you get used to it, it's a breeze. Your content is in one spot and it's display is separated. Same basic principle as MVC in 'real' programming.
I've been tableless for about 4 years now. I can't think of anything I could do in tables that can't be done with plain HTML and css. Sometimes, the css has to get tricky to get it to work across browsers but then your hacks are confined to a single place instead across your whole site. Is there something in particular I can help with?
IE6 will make you go grey but you learn it's quirks. I'm gonna get a Microsoft tatoo in my bald spot. I fully blame them for it.

Will
Yes still use tables, I know I really shouldn't but it's just quicker as it's what I know best.
I am (very slowly now due to the arrival of our baby!) redesigning one of my websites with CSS and trying not to use any tables, and so far so good.
And as will says, you can get the CSS looking good in browsers like Firefox & Opera, then open it in IE and it all goes wrong, nice!!!
I am (very slowly now due to the arrival of our baby!) redesigning one of my websites with CSS and trying not to use any tables, and so far so good.
And as will says, you can get the CSS looking good in browsers like Firefox & Opera, then open it in IE and it all goes wrong, nice!!!
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
- syrupcore
- Top Contributor
- Posts: 917
- Joined: Thu Jul 21, 2005 12:58 am
- Location: Portland, Oregon, usa
- Contact:
+10.chrisjlocke wrote:...and easier to maintain at a later date.
In all honesty, the reason I investigated web standards in the first place was trying to keep a massive massive website I'd built updated. It was all tables and jesus, editing/updating/changing just sucked.
When I read feature requests here from folks that want to be able to click on something in the preview screen so they can find it in the code, I'm willing to bet 9 of 10 are using TD soup to layout their webpages. With clean html (eg, no stinking display code), it's just not that hard to find code bits in your document.
IE7 is a much better browser, and you don't get the same problems as IE6. I only used tables when I used a WYSIWG editor, and moved to CSS when I started using a HTML editor. There are some excellent articles on CSS and tables, to make them easier to update though.
CSS is great. Just create a 'wrapper' and put all your content within. Be even better when rounded corners for content boxes and transparency becomes better supported.
CSS is great. Just create a 'wrapper' and put all your content within. Be even better when rounded corners for content boxes and transparency becomes better supported.
The issues of corners and transparency have kept me building the framework of some of my sties out of tables, but I have a sense that even this is not a valid reason.
Admittedly, I'm new to constructing sites using CSS. It's frustrating at times. I've literally ended up scrapping everything for a site I was working on and starting over because I could not unravel the CSS puzzle.
Among a myriad of increasingly messed up positioning problems, a menu I was designing actually turned backwards on me and I could not for the life of me explain it.
Home | About | Services | Contact
actually became
Contact | Services | About | Home
It was at that point I realized I wasn't in Kansas anymore.
Still, I'm doing what I can to fight through the pain of the learning curve with the anticipation that I will be a better web developer for it.
I'm going to start a new thread about favorite CSS Tutorials. I hope you will all go there and submit your favorite CSS learning aid.

Admittedly, I'm new to constructing sites using CSS. It's frustrating at times. I've literally ended up scrapping everything for a site I was working on and starting over because I could not unravel the CSS puzzle.
Among a myriad of increasingly messed up positioning problems, a menu I was designing actually turned backwards on me and I could not for the life of me explain it.
Home | About | Services | Contact
actually became
Contact | Services | About | Home
It was at that point I realized I wasn't in Kansas anymore.
Still, I'm doing what I can to fight through the pain of the learning curve with the anticipation that I will be a better web developer for it.
I'm going to start a new thread about favorite CSS Tutorials. I hope you will all go there and submit your favorite CSS learning aid.

- syrupcore
- Top Contributor
- Posts: 917
- Joined: Thu Jul 21, 2005 12:58 am
- Location: Portland, Oregon, usa
- Contact:
came across an older presentation on why to switch from tables to css based layouts.
http://www.hotdesign.com/seybold/
http://www.hotdesign.com/seybold/
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact: