Two suggestions when coding with css, and Ive learned this the hard way and through trial and error.

#1
The first line in your css should be
*{margin: 0; padding: 0;}

This resets the margin...