Welcome, Guest

Dennis Eusebio’s Story

Made on July 06, 2007
550 Views | 7 Comments | 1 Lessons Learned

So, long story short...

While Dennis Eusebio was Working on Only Human

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.

  • related stories
I learned from this What's This?

Comments (7)

Avatar
Dennis Eusebio says
Posted on July 07, 2007

http://developer.yahoo.com/yui/reset/

Stoppie-75x75
raymo says
Posted on October 11, 2007

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.

Stoppie-75x75
raymo says
Posted on October 11, 2007

Forgot to ask: Any reason for using an XHTML DOCTYPE over HTML 4.01?

Avatar
Dennis Eusebio says
Posted on October 11, 2007

I wish I had a logical reason but its basically what I was taught to do.

Stoppie-75x75
raymo says
Posted on October 11, 2007

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..)

Stoppie-75x75
raymo says
Posted on October 11, 2007

HTML 4.01 is still current.

Avatar
Dennis Eusebio says
Posted on October 11, 2007

When you mean it doesn't support it, what are you referring to?

Want to join in on the conversation? Sign In or Register for Free.
loading