You should remove the default margin from the body tag.
body { margin:0 }
Additionally, if you want to use percentage for the .header
div's width, you should specify the parent's width as well. In case the parent is the body tag, this is what you can do:
body {
margin: 0;
width: 100%;
}
Here's a fiddle