I have a div (parent) that contains another div (child). Parent is the first element in body with no
div
body
An alternative solution I found before I knew the correct answer was to add a transparent border to the parent element.
Your box will use extra pixels though...
.parent { border:1px solid transparent; }