Tuesday, July 28, 2009

its hard to break old habits....

I have been asked by the company to build them a new website. It was a pretty straight forward build: header, image, nav-bar, content. Simple, well yes those little things keep coming back to bother me. I have gotten lazy with my CSS and not parting it out from my markup. I have just been copy and pasting it to each element. This gets extremley repetive and non-efficient, its a really bad habit. So with this build I separated out my CSS(except for a few, particular, small non-resuable styles) and man does it look a lot cleaner. I also decided to use divs and containers for my data instead of tables. Im starting to feel alot more comfortable with them, even though I keep wanted to throw some table tags here and there. Its hard to break old habits, but I think I'm really growing into a better developer.

No comments: