Developing CSS With a Clean Slate

| 2 Comments

I had pleasure of catching Eric Meyer's presentation at An Event Apart earlier last month on the differences in the various browsers' default stylesheets- which often accounts for minor differences in rendering that can truly vex your development processes.

Eric's sage advice for 'evening the scales' was to first globally reset a baseline of elements to a consistent and known quantity (without resorting to using the universal selector, then build up your own project-specific styles upon this baseline. This greatly helps account for varying differences in box-model rendering, line height, fonts, etc. which are often interpreted in minutely-different ways by the various browsers' rendering engines. He even kindly offered to share his own version of such a 'reset' stylesheet.

What I did not know - and Eric made me aware of via his 'blog posting earlier today - is that the YUI team at Yahoo! has already published their own version of a reset.css file to do exactly this.

You can get more information at the Yahoo! UI Library site, along with extensive documentation, 'quick-start' notes, and community resources to discuss it's usage. Very handy, and definitely worth a peek if you're having issues getting pixel-perfect alignment across your test browser suite.

2 Comments

Apologies for being off-topic and bringing back an old post, but:

http://weblogs.macromedia.com/sfegette/archives/2006/03/sony_online_-_n.cfm

Does this mean that PlayStation 3 and PSP have Flash 8 support?

I thought the latest version of the SDK was Flash 7! If not, then why did Adobe refuse to deliver anything newer than Flash 7 to Nintendo and Opera for the Wii browser?

Hi there- I answered you in the other post, but to be brief, that old post was regarding the Flash-based websites for those games, not the actual games or the Flash Player implementation on their respective gaming consoles. I think you may have been reading a bit more into the post than intended, unfortunately.

Leave a comment

About this Entry

This page contains a single entry by Scott Fegette published on April 12, 2007 10:31 AM.

Welcome, Jonathan! was the previous entry in this blog.

CSS Advisor on the Dev Center is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.