I have an image set to left: 50%;
. However, it's a little too far to the right, like the selector is not in the center, but on the left side.
My CSS Code:
#scroll-down {
position: fixed;
width: 100%;
height: 64px;
margin-top: -64px;
}
#scroll-arrow {
position: absolute;
background: url("img/down-arrow.png") center no-repeat;
width: 64px;
height: 64px;
left: 50%;
}
My HTML Code:
<div id="scroll-down">
<div id="scroll-arrow"></div>
</div>