I have been working in web development for last few years, and HTML for lots of years. When I was learning HTML, one of the most powerful hacks used was Tables. Yes, using tables for layout is the most widely used hack in the Web. So do I. I was living happily with the tables. And also when it comes to development, the usage of tables made the life much easier; the repetition of the rows and columns; wow! That’s wonderful; err.. I mean easy
That’s the era of tables; and of course I used CSS here and there.. but not widely. I never thought of a pure CSS design. However, things have changed a lot since then. I started to redesign the whole web. I mean my webs. I started from my unpublished homepage (still it’s in my hard drive
) and did much more. (Take a look at the ihub - it’s the final outcome of our internet programming coursework; the objective was to create a simple site; so, we used CSS to keep it simple ;-))
Many of my friends started to ask; why CSS?? What’s the advantage? hmmm.. well! There are some, and of course some disadvantages are well. You have much more power in CSS than tables. You can do whatever you want; play with layers, transparency, absolute positioning for drag n drop. And if you are doing an AJAX application, you have more control in a CSS based design. After you designed everything, what if you are not happy with the font sizes? Simple, just change the style sheet :-). However, there is a big disadvantage; you have to worry about the browser compatibility. Difference between the views from the different browsers cannot be ignored. As you know for almost every (I don’t just say every - almost every) question there is an answer; here comes another question - how do I find the answer? refer to the internet :-). You can always use CSS hacks to keep compatibility.