I have three divs outside my content site
homepage code:
<div id="content-outer" class="clear">
<div id="content-wrapper">
<div id="content">
<asp:ContentPlaceHolder ID = "ContentPlaceHolder1" runat="server" >
</asp:ContentPlaceHolder>
</div>
</div>
</div>
the width of the outer div is 1400px, it works well on a screen with a width of 1400 or more, but when I launch it in the width of 1024, the whole page starts on the left side, I want to center my page when opening in the browser, I gave some css properties, such as
Content-External: Margin Left: Auto; margin-right: auto; (does not work)
but I can not center the alignment of my entire page, plz tell me how can I do this, I also gave the same properties to the body, but again no luck
source
share