Category / CSS

0

Relative font sizing made easy

If you’ve not already done so, it’s time to ditch pixels as a unit for sizing fonts. Sizing fonts for the web using ems and relative dimensions is easy and accurate. No really, it is.

Continue reading

2

Goodbye hacks.
Hello conditional comments.

Since adopting a standards based approach to web design, I have wasted numerous development hours struggling with inconsistencies in the way web browsers implement the CSS spec. Sure, you can use CSS hacks to serve different CSS rules to different browsers, based on their own quirky interpretation of CSS, but that is a dangerous path to tread.

Continue reading