We have a iamge banner on our web page that is a gradient that is repeated on the x-axis. The problem is, if our content on our web page (which is dynamically created based on data in our database) spans a width greater than the window width, then our banner no longer spans the entire width of the document when scrolled. Anyone know how to fix this?
A simple example is posted below. The blue is our "banner" the "red" is our content.
<html>
<head>
    <style>
        *{
            padding:0;
            margin:0 auto;
        }
        #header{
            height:80px;
            background-color:blue;
            width:100%;
        }
        #content{
            width:1500px;
            background-color:red;
        }
    </style>
</head>
<div id="header"></div>
<div id="content"><h1>TEST</h1></div>
</html>