DIV haters
Out of context: Reply #68
- Started
- Last post
- 90 Responses
- normal0
One could say that tables work and they do in a rudimentary sense for those stuck with them. But on the other hand, using divs and seperating style from content is the way to go. I just finished a web project for HP that was a serialised version of a site that is updated regularly. Originally it was done with tables and stylesheets which were almost a secondary thought. The files were huge, the code went on for 350 lines for each one and they used about 3 different stylesheets for each. Not only that but the code was a horrible jumble of stupidity and bodged jobs. I rehashed the code using proper xhtml, div's, and rewrote the css to be a bit more efficient. The result. Average lines of code went down from 350 to about 100. File size from 27k to 8k. Ease of updating became ridiculously easy afterwards probably saving dozens of hours of extra work in the long run. But you don't have to listen to me. Use what works, and what works are Divs.