Search code examples
cssborderwhitespaceedges

CSS Style not reaching edges


On my website, the header is a div tag with a coloured background. The only problem is that it doesn't reach the "edges" of the window (Please see http://manpoints.uk.to/).

Any ideas of how to solve this?

Thanks, Josh.


Solution

  • Try what @KP is suggesting, plus add #header{ width:100%; } to your stylesheet. What's happening is that your header does not have a defined width, and it's taking te maximum width of the content inside.