Limonada

Take lemons, make lemonade or Jill and Yuval’s Musings

Limonada header image 2

CSS positioning does not negate using tables

December 23rd, 2005 by yuval

No matter how much you work with CSS and tricked out positioning, you will have a problem creating a table without actually using one.
See, the problem has to do with height, the bane of most browser design, and drawing the bottom border. You can create a bunch of <div> elements that float right next to each other, you can even draw borders on the sides and everything will appears hunky dory except for the fact that divs do not give a hoot about the aligning their bottom borders. You can be a wiseass and set the div height in the stylesheet, but then your are married to a specific height. If a user puts just a tiny bit too much data, it will not look nice.
So you can use tables. Not for layout, but just to display data in tabular format. No one will die, I will not tell and definitely the CSS god allows that.
Tables are for tables.

Share/Save/Bookmark

Tags: No Comments

Leave A Comment

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.