The problem - elements directly inside the DIV you "border" have a margin:
The fix - an inner hidden overflow DIV: