another code journal, or sorts. bits and pieces of hopefully useful programming tips. sometimes rambling a bit, even! PHP, ActionScript3 (AS3), MySQL, JavaScript, jquery and prototype tips and tricks.
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment