Dennis Eusebio’s Story
Categories
So, long story short...
Dennis Eusebio made the mistake of
letting the xhtml/css get out of control
My Advice to You is
periodically take the time to clean up your code
Here's the whole story
As you can see, we're slowly re-working the front end to this site and making it faster and easier to use. I started on this site as I was still in the early stages of learning how to code xhtml/css based sites. So, I made tons of coding mistakes and rushed some code in favor of getting it things done.
Its naturally part of the agile process to not wait for perfection, but you should honestly take the time here and there to go back and clean up your code. It makes a huge difference in the performance of the site as well as making it easier to maintain.
F.Y.I - We're using Yahoo's White-Space Reset file on the site. I highly reccomend it for your own sites.



Comments (7)
http://developer.yahoo.com/yui/reset/
Hahah. I can relate.
I religiously validate my code (against the W3C validator), so I'm pretty good as far as keeping on top of errors. As for code formatting, I always keep on top of this too; just nesting relevant tags etc. Indenting is handled automatically by my text editor (UltraEdit - highly recommended).
Your markup looks pretty good; I prefer to not put in any blank lines, but this is just up to personal preference ofcourse.
I would like to take this opportunity to congratulate you and the team on the site. I like the idea, and you've executed it well. Congratulations.
Forgot to ask: Any reason for using an XHTML DOCTYPE over HTML 4.01?
I wish I had a logical reason but its basically what I was taught to do.
That's a good reason. However 99% of websites don't use the functionality that XHTML offers. Also, Internet Explorer 6 doesn't support it whatsoever, and IE7 might only partly support it, if at all. I know little about the topic except for the above, so can't tell you what this functionality is.
Good to see you've got Strict in there though.
(PS, yes I know IE sucks..)
HTML 4.01 is still current.
When you mean it doesn't support it, what are you referring to?