# HTML: Tables considered harmful?

**URL:** https://boards.straightdope.com/t/html-tables-considered-harmful/355511
**Category:** Factual Questions
**Created:** [May 5, 2006, 8:21am UTC](https://boards.straightdope.com/t/html-tables-considered-harmful/355511 "2006-05-05T08:21:23Z")
**Posts on this page:** 9
**Page:** 2

<div class="post-metadata">

### Author: ![Crowbar\_of\_Irony\_3](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@Crowbar\_of\_Irony\_3](https://boards.straightdope.com/u/Crowbar_of_Irony_3)
#### Post date: [May 6, 2006, 7:47pm UTC](https://boards.straightdope.com/t/html-tables-considered-harmful/355511/21 "2006-05-06T19:47:03Z")

</div>

I don’t see a point of using CSS tags to layout your page, unless you are aiming for an interactive-intensive site, pack with DHTML, Javascript or Ajax. Table layouts are good for simple, static webpage, and is the easiest layout tool there is.

Not to mention that ensuring that your CSS and DIV tags work cross-browsers is extremely probelmatic.

---

<div class="post-metadata">

### Author: ![Duckster](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/duckster/32/1244_2.png) [@Duckster](https://boards.straightdope.com/u/Duckster)
#### Post date: [May 7, 2006, 3:07am UTC](https://boards.straightdope.com/t/html-tables-considered-harmful/355511/22 "2006-05-07T03:07:07Z")

</div>

> [@LSLGuy](#):
>
> My complainit with CSS-styled sites is that they don’t resize well. I don’t use standard fonts, I don’t use standard window sizes and I often see stuff mispositioned all over the place.
> 
> Also, I block most of their ads, meaning the graphics are much smaller than their absolute positioning expects.
> 
> Result: a mumble-jumble of stuff on top of stuff. Link bars on top of content, icons on top of link bars.
> 
> Had they used tables for layout I’d see an organized outcome with no overlapping. Sure, it wouldn’t look like the designer intended, but the critical baseline concept of HTML is (was?) that the browser/user ultimately controls how it looks, NOT the web designer.
> 
> Now if css has robust **relative** positioning, then things would work OK. But it doesn’t, and won’t any time soon.

Actually a CSS tableless design resizes just fine if you build according to the concept of “elastic design.” Of course, there are limits, but those folks who use way out there screen resolutions and/or archane browsers will not be happy.

---

<div class="post-metadata">

### Author: ![LSLGuy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lslguy/32/5813_2.png) [@LSLGuy](https://boards.straightdope.com/u/LSLGuy)
#### Post date: [May 7, 2006, 5:20am UTC](https://boards.straightdope.com/t/html-tables-considered-harmful/355511/23 "2006-05-07T05:20:52Z")

</div>

> [@Duckster](#):
>
> Actually a CSS tableless design resizes just fine if you build according to the concept of “elastic design.” Of course, there are limits, but those folks who use way out there screen resolutions and/or archane browsers will not be happy.

DO you have an y good references to this “elastic design” concept? I’m mediating a religious war on this at work & I’d like to find some solid references that point out how to do css well with widely divergent screen sizes & aspect ratios.

---

<div class="post-metadata">

### Author: ![dotchan](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@dotchan](https://boards.straightdope.com/u/dotchan)
#### Post date: [May 7, 2006, 7:19pm UTC](https://boards.straightdope.com/t/html-tables-considered-harmful/355511/24 "2006-05-07T19:19:37Z")

</div>

I’m still mostly using tables (although I’m slowly learning CSS to help streamline updates) due to the fact that I’m too lazy to learn other ways of doing similar page layouts. I so need to figure this whole PHP business out so I can free my content from those damn rows and columns…

---

<div class="post-metadata">

### Author: ![jjimm](https://avatars.discourse-cdn.com/v4/letter/j/ba8739/32.png) [@jjimm](https://boards.straightdope.com/u/jjimm)
#### Post date: [May 7, 2006, 7:36pm UTC](https://boards.straightdope.com/t/html-tables-considered-harmful/355511/25 "2006-05-07T19:36:59Z")

</div>

> [@Rune](#):
>
> No offence, but better disabled accessability seems to be a pretty marginal advantage for the fairly big work and mental reorientation that goes into new layout

Hey, I agree with you! First time, probably! 😉

CSS-only sites are a massive headache, and one that I now have to live with, since I have recently taken over running a government website, which needs to be screen-reader compatible (even though I have had precisely zero hits for the past six months from any screen readers). This sounds harsh, but if you don’t care about it, carry on using tables in whichever way you like.

Further reading on [replacing tables with CSS](http://www.alistapart.com/articles/practicalcss/), and [read the hassle](http://www.developersdigest.org/wiki/index.php/Holy_grail_three_column_design) involved in trying to make “the holy grail” three-column display using only CSS, something tables could do in about 5 minutes.

---

<div class="post-metadata">

### Author: ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)
#### Post date: [May 7, 2006, 9:00pm UTC](https://boards.straightdope.com/t/html-tables-considered-harmful/355511/26 "2006-05-07T21:00:14Z")

</div>

> [@](#):
>
> I don’t think accessible for sight impaired is of very high priority for a site which peddles images of nude girls. Of course, being honest I don’t need a very good reason to do this and I’m going to do it regardless.

But we’re not doing it for the sake of art. And we’re not doing it for the money. We’re doing it because… We like painting naked people. 😉

---

<div class="post-metadata">

### Author: ![CookingWithGas](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/cookingwithgas/32/485_2.png) [@CookingWithGas](https://boards.straightdope.com/u/CookingWithGas)
#### Post date: [May 8, 2006, 1:58am UTC](https://boards.straightdope.com/t/html-tables-considered-harmful/355511/27 "2006-05-08T01:58:03Z")

</div>

Sorry for the tangent but I was just wondering if the OP is familiar with the Dijkstra article from which the OP title is derived.

---

<div class="post-metadata">

### Author: ![Rune](https://avatars.discourse-cdn.com/v4/letter/r/e68b1a/32.png) [@Rune](https://boards.straightdope.com/u/Rune)
#### Post date: [May 8, 2006, 8:04am UTC](https://boards.straightdope.com/t/html-tables-considered-harmful/355511/28 "2006-05-08T08:04:58Z")

</div>

> [@CookingWithGas](#):
>
> Sorry for the tangent but I was just wondering if the OP is familiar with the Dijkstra article from which the OP title is derived.

Yes I intented the title as a small pun on _“Go To Statement Considered Harmful”_.

---

<div class="post-metadata">

### Author: ![CookingWithGas](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/cookingwithgas/32/485_2.png) [@CookingWithGas](https://boards.straightdope.com/u/CookingWithGas)
#### Post date: [May 8, 2006, 2:00pm UTC](https://boards.straightdope.com/t/html-tables-considered-harmful/355511/29 "2006-05-08T14:00:45Z")

</div>

> [@Rune](#):
>
> Yes I intented the title as a small pun on _“Go To Statement Considered Harmful”_.

Cool. Kids today writing in that confounded Java don’t even know what a Go To is. 😃

[Previous page](https://boards.straightdope.com/t/html-tables-considered-harmful/355511.md?page=1)
