I have a div within a tag, this has a fixed width, height and margin.
<center>
<div id="360container" style="width:1252px; height:805px; margin-right:50px; margin-left:50px">This is div
</div>
</center>
I want to decrease the width when this div not fit's the browser anymore, when the browser width is less than 1252+50+50px, and i want the height to decrease but still keep the same ratio(1252x805).
How can this be done?
You can add the following CSS :