Center both horizontally and vertically with variable size, maxing 1000px width/height;
3627
Best way to center a  on a page vertically and horizontally?
144498
Scaling HUD with variable resolution
152218
How to horizontally center an unordered list of unknown width?
146743
Maintain aspect ratio of a div according to height
121278
How to center text without adding space AND not altering alignment of surrounding text?
104743
How to make a div fill a remaining horizontal space?
86172
How to maximize a window programmably in X Window?
112619
centering root div through percentage width in all kind of resolutions
117806
tikzpicture alignment and centering
121693
Setting DIV width and height in JavaScript
32230
Center an element with "absolute" position and undefined width in CSS?
19618
set a maximum width and height for an image
22435
How to scale dimensions proportionally to a specific size?
95837
Setting width/height as percentage minus pixels
127734
How to equally distribute elements horizontally using CSS
97323
Assign width to half available screen width declaratively
78664
How to horizontally center a fixed positioned element