I really hope someone can solve this as I have looked everywhere and tried most things I found.
I have a gap appearing between the head and body of the site we’re working on. It only appears in IE8. I have looked at everything I can and can not for the life of me work out what’s causing it. Maybe I’m just a little dim
The rules are explained in detail here but IE is a little buggy at times hence the differences.
When there is nothing between a parent and child the margin on a child element can collapse to become the parents margin instead and instead of moving the child the parent is moved instead.
Usually adding a 1px padding or border will stop the collapse.
IE can be buggy so you just have to watch out for it and test to see if there is an issue.