2012/02/28

debugging like a boss: CSS

CSS can be a pain in the ass to debug, but thankfully, you have firebug on firefox, and you have the development tools in chrome. i use chrome, so i use development tools, which gives you a way to inspect any and all elements on a page, even dynamically created, and among the properties you can see the actual CSS inheritance chain used for that particular element. using it makes it a breeze to find and debug CSS bugs, as you can see which definition is in effect.

No comments:

Post a Comment