Dalek Dave wrote:
Why is DIV better than TABLE?
It isn't inherently.
Table
s are better at displaying tabular data.
Div
s are better at creating sections within your page. So it's horses for courses.
Dalek Dave wrote:
Just wondering the reason why
This is the subject of one of the many internicene wars in IT. The pro-
div
contention (and the one I agree with) is that, you can readily skin your HTML any way you want using CSS. Take a look at
http://www.csszengarden.com/[
^] (SFW), and look at the several desgins. This is the same HTML with different css applied. It also helps separate out the styling from the markup.
That said, for many applications tables are just simpler to implement.