Wednesday, May 11, 2011

Fixed Layout when window resize(How to avoid Wrapping controls in a Page)

Fixed layout when browser window resized or  not wrapping controls when browser window resized(Controls Never Wrap by using the following):

<html>
<head>

<style type="text/css" rel="all">

.main
{
padding:0px 12px;
margin:12px auto 0px auto;
min-height:420;
}
.page
{
width:960px;
margin:20px auto 0px auto; 
}

</style>

</head>
<body>
  <div class="page">
        <form id="form1" runat="server">
                            <div class="main">
                                <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                                </asp:ContentPlaceHolder>
                             </div>
</form>
                        
    </div>
</body>



--
Regards:
M.Rama Subba Reddy
Cell:+919080391242

1 comment: