
In Miscellaneous on Nov 05 by jason Tagged: code
Did you know that bad DOCTYPEs are killing good websites. Use the right DOCTYPE to fix your site.
Nowadays, just about everyone knows something about HTML–especially my wife’s cousin’s uncle’s third son, a.k.a. Little Johnny. But do you know about one of the most common HTML errors? It’s an improperly written DOCTYPE tag.
Jeffrey Zeldman has a short article that will help you to Fix Your Site With the Right DOCTYPE!

In Miscellaneous on Nov 02 by jason Tagged: code
It’s been said many times that CSS is great for markup (vs. layout). This brings up a good point about going overboard with CSS. And I’ve done it many times…
You have a certain design in your head and start applying new divs, spans, and class to fit that look. Although CSS is capable of doing lots of neat stuff, adding new tags or classes can quickly nullify the efficiencies of CSS.
Minimize the number of custom classes by sticking with standard HTML tags. It’s not only good practice, but you also can quickly stay compatible with screen readers and cell phones. You will also provide nice structured content for SEO and non-CSS capable browsers.