I have a site at http://bit.ly/1gH5Nqw that has a white background behind a content block in the middle of the page. The white background stretches to the left and right margin of the viewport in all browsers except Safari. Does anyone know why or how to correct the issue?
Here's my CSS:
div#maincontentcontainer div#home-services-block,
div#maincontentcontainer div#inner-page-content {
background-color: #fff; /* trying to get background to appear in Safari browser */
margin-top: 60px;
position: relative; /* to get the container to extend to the screen/viewport margins */
}
div#maincontentcontainer div#home-services-block:after,
div#maincontentcontainer div#inner-page-content:after { /* to get the container to extend to the screen/viewport margins (http://stackoverflow.com/questions/28565976/css-how-to-overflow-from-div-to-full-width-of-screen) */
content: "";
position: absolute;
height: 100%;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 100vw;
background-color: #fff; /* changed `background:` to `background-color:` to see if white background would appear in Safari browser -- it did not */
z-index: -1;
}