Finding the offset of a container taking border and padding into account.

Finding the offset of a container taking border and padding into account.

I can find the offset of an outer container (such as a DIV) from the document using offset().  However suppose I want to increment the offset by the width of the border of the DIV (if there is one) and the padding as well.  How would I do that?