Many times it is very annoying when you are designing a page and suddenly you notice that something is not properly aligned.
In these cases, it can be helpful to outline elements on the page to figure out how they are being rendered in relation to one another. One solution would be to write your own css class, such as the following:
* { box-shadow: inset 0 0 0 1px red }