Check out this link. I'm having trouble getting the gas pumps to align properly with the content box due to background positioning issues. Can't seem to figure out what's causing it...
Here is the HTML code:
<body>
<!-- navigation stuff -->
<div class="w3-row">
<div id="fill-left" class="w3-col s1 m2 l3"> </div>
<div id="main" class="w3-col s10 m8 l6">
<div id="content" class="w3-container w3-white">
<p>Lorem ipsum
</div>
</div>
<div id="fill-right" class="w3-col s1 m2 l3"> </div>
</div>
</body>
And here is the CSS code:
#fill-left {
z-index: -1;
background-image: url(bgleft.jpg);
background-attachment: fixed;
background-position: right top;
}
#fill-right {
z-index: -1;
background-image: url(bgright.jpg);
background-attachment: fixed;
background-position: left top;
}
div#main {
z-index: 1;
box-shadow: 0px 0px 100px #000;
}
Note: The classes used are from a CSS library called W3.CSS for responsive layouting.
tj;dr I need help fixing the background image position to align perfectly next to the content area.