I have a 5x5 grid and when i add content to the div, it is shifted down. Can anyone explain why this is happening?
Setting overflow:hidden on the elements should fix it as it will make the elements ignore any margin or padding that inner-nodes create that overflow the containing element.
overflow:hidden
Here is a demo: http://codepen.io/anon/pen/mDonw