nella web developer toolbar di firefox c'è l'opzione
Information -> Display block size
che fa esattamente questo...