Aug222006
Where Have All The Tables Gone?
Goog Feed, CSS, Design
Comments (5)
I have been in the web world for around 5 years now, and when I first learned how to build a web page, my layouts were based on HTML tables. Now thanks to Cascading Style Sheets (which are nothing new) I have practically abandoned tables and now design with strictly CSS.
I used to fear CSS. I would look at a style sheet and think that tables were so much better. Until a few years ago, I figured out that you could create some nifty little rollovers with just an HTML anchor tag and a bit of CSS. Before I used to create rollover images in Photoshop and slice them up creating nifty rollovers which took forever to load.
CSS is all about freedom, optimization, beauty and ease of future manageability. With CSS you can change the look of a site quickly from one look and feel to another with the swapping out of a style sheet. No more going through pages of code and HTML to try to swap out all of the image names and possibly reposition things, CSS allows you to do all this cleaner, quicker, and all from one file.
Case In Point
At work we are developing a completely web-based totally configurable web enrollment system for the health care industry. Part of my task thus far have been to create the look and feel for the application. This app will be used by multiple clients, and each client will most likely want their own look and feel to the app, not a logo change, but an entire look and feel.




Thanks for your response Tony. I too have problems at times with IE and Firefox compatability issues. One thing to remember off the bat is that Firefox is pretty compliant with the standards whereas IE is not. There are plenty of CSS hacks for different issues that you may run into, to help a site be compatible in both browsers. As time goes on and you get more familiar with CSS you will find these hacks become more prevelant in your development. When I develop and am laying out my CSS, I test in both browsers as I go. Quick example, when creating a div with a border around it of lets say 15px, firefox will render the width properly whereas IE needs you to tell it to be a little larger to allow for the same content space.
#container {
width: 720px !important;
width /**/: 750px; /* For IE */
border: 15px solid #fff;
}
These are the kings of hacks that must be put in to enable the CSS to be cross-browser compatible. Painful at times? Yes. But well worth the cost if you asked me. Hope that answered your question.
http://www.twoninemedia.com/blog/index.cfm/2006/8/...