Conditional Classnames

Paul Ham­mond has a very clever idea about avoid­ing con­di­tional sytlesheets for Inter­net Explorer. Basi­cally, if we just use con­di­tional com­ments for IE to include a class­name in the body tag, we can iso­late the spe­cific IE rules in the main stylesheet.

Pros

  • Avoids any extra HTTP requests for files with IE-only hacks
  • Slicker than includ­ing that mon­stros­ity inside the head tag
  • Allows for easier read­ing and main­te­nance of stylesheets. The IE hacks can be placed where they’re rel­e­vant in the stylesheet.

Cons

  • Doesn’t this defeat the entire idea of sep­a­rat­ing out hacks from stan­dard CSS?

Does anyone else have opin­ions on the matter?

Best Debate Photo Ever

Mccain Grabby After Third Debate

Via Yahoo News.

Current Web Design Resources

I’ve been steadily work­ing on a new web design project which will even­tu­ally become a custom Word­Press tem­plate. In the design process I’ve slowly man­aged to amass sev­eral browser win­dows full of tabs of related things that I was look­ing at for inspi­ra­tion on the site.

Safari is get­ting pretty slow with all of those tabs so I kind of needed to do a com­plete dump of the tabs. With­out fur­ther ado, here are the links (for my ben­e­fit as much as yours).

Wireframes

CSS Galleries

WordPress Themes (Inspiration)

Photoshop and Illustrator Tutorials

Other Stuff

The New Yorker: The Choice

A very elo­quent endorse­ment of Sen­a­tor Barack Obama for pres­i­dent from The New Yorker. You might want to get a cup of coffee and settle in before reading.