rafaelp / css_browser_selector

A very small javascript library that allows you to create browser specific CSS to be merged into your normal classes. No more hacks or mischievous code in your CSS code.
http://rafael.adm.br/css_browser_selector/
626 stars 168 forks source link

Add classes for Windows <= XP and >= Vista #14

Open sunshowers opened 12 years ago

sunshowers commented 12 years ago

These two are different enough that I believe they warrant separate classes defined for them.

verbatim commented 12 years ago

Thanks for submitting this.

Are you saying that NT, 2K and XP should be designated as a group and anything greater than XP is also a group?

Do you have any examples of how NT, 2K and XP would render something one way, while Vista and greater might render a different way? If you have example pages (CSS and markup, along with screengrabs of different renderings), that would help.

Thanks again.

sunshowers commented 12 years ago

The use case I had in mind for this is ClearType, which typically means some fonts render much worse in <= XP than in >= Vista. ClearType is available on XP but not turned on by default.

sunshowers commented 12 years ago

For example: http://www.codinghorror.com/blog/2005/08/consolas-and-cleartype.html