That is only really possible if the window is full screen. By that logic it feels like if the user changes the window size you would want the div to stay in the center even then.