Check out this code pen: http://codepen.io/mlynn/pen/myaeea
I am looking to keep everything in a consistent position at all times, with white space on the sides when fullscreen and potentially removing it when the window is resized small (similar to stackoverflow).
How can I achieve this? I've experimented with changing percentage widths to pixels, as well as using min-width and max-width properties, but so far no success.
In simple terms, I want to replace every instance of:
width:50%
with
min-width:500px;
max-width:500px;
I also attempted wrapping the entire body in a div with specific width/height properties, but that didn't yield the desired outcome either.
Additionally, I tested setting positions to "fixed" and "absolute," but encountered challenges with those approaches as well.