Home › Forums › CSS › background not sizing right when website zooming in/out › Re: background not sizing right when website zooming in/out
February 3, 2012 at 12:32 pm #96113
The background isn’t actually working from the get-go. You are trying to position it with pixels, which means that it’s not going to be centered on any monitor that isn’t using a resolution that you are. Do this instead:
background-position: center 120px;
Also, IE is not going to like you using the multiple backgrounds thing. Since you don’t have anything on the HTML element, I’d put your dark layer on that instead.