Good day. I want to know how to center backing if the code already has a position, and the margin: auto does not work.
.content{ width: 980px; height: 458px; background: url(background.png); position: absolute; z-index: 3; top: 700px; margin-left: 18.7%; } When you reduce the screen, backing, of course, moves, I want it to always be located in the center. Tell me, please, how can this be implemented correctly?
background-attachment: fixed- Alexey Ten