quote:
Originally posted by Sunshine
Why don't you use tables instead of DIVs?
Tables are easy, you can set the width to a percentage of the totall width of the table....
Let's say you want 3 columns...then the widths would be 33%, 34% and 33%......4 columns is even easier...simple 25%
The reason people tend to move away from that is because of the fact that tables are designed to contain tabular data and fboth accessibility and usability issues (especially with screen readers) they're not liked for laying out a page. It come under semantics.
Like I said though, tables are the easiest way for you to do something like this and not have to worry about how it is going to appear in 10+ different browsers and browser versions.
You can also "set the width to a percentage of the total width" using a DIV approach however you still have to worry about getting floating and positioning correct in different browsers.