Actually, you missed the concept of "min-width"
Code:
width:70%;
min-width:40%;
Mathematically, what you have asked for is redundant... akin to saying (WIDTH=70units)>40units... or simply 70>40. This is always true.
Min-width is a MINIMUM width constraint. If you wanted to make sure that no matter how SMALL the view port was that the site was a MINIMUM of , lets say 800px.
Code:
width:70%;
min-width:800px;
Also, if what you are worried is LARGE viewport widths, you would want to use MAX-WIDTH and a different unit again. For example, the following will keep the width of your site smaller than 1160px, no matter how large the screen goes.
Code:
width:70%;
min-width:800px;
max-width:1160px;
Another thing... max width:100% is REALLY redundant in block elements. All block elements are 100% by default. And adding margin-right:1.4%; just breaks it since you have made the total calculated space 101.4.%!
Bookmarks