Saturday, March 19, 2005

firefox dom inspector rocks!

I couldn't figure out why my table cells had padding around them. I hadn't specified any padding in my CSS stylesheet. Enter Firefox's DOM Inspector (see below).

domInsp

DOM Inspector allows you to look at each XHTML element to see what its CSS properties are and where they're being set. It turns out that Firefox and MSIE set padding around table cells by default. This might be part of the CSS spec... I don't know for sure... but thanks to DOM Inspector, I was able to discover this quickly. It's nice to see browsers do neat things with Web standards (hint hint MSIE).

0 Comments:

Post a Comment

<< Home