The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Background Position: center center; Re: Background Position: center center;


background-position:center center ensures that the background image will be both horizontally and vertically centered in its container. I believe most browsers consider one center to be equivalent, so using two is likely either a matter of personal preference, or just to be safe with all browsers.