Quote:
Originally Posted by Vanquish
This is why I hate divs sometimes. Depending on certain things it can be fine on one computer and horrible on another, (maybe it was just how I set it up), but I've learned and found better ways instead of using div
|
<div>'s are the proper way to create the layouts for websites nowadays. Using tables or other methods is considered bad practice, and should generally be avoided.
The only reason why it's hard to get CSS-based layouts using <div>'s that work well is Internet Explorer. I guarantee you that it's really easy to write W3C-compliant code thats works perfectly in standards-compliant browsers like Firefox, Safari or Opera. But as soon as you have to make it work in IE as well, everything breaks because Microsoft has not correctly followed the industry standards for HTML and CSS for most of the past decade.
IE7 is an improvement over IE6, but it's still far from behind Firefox, Safari, and Opera.