I am having alignment and height problems in CSS. Basically, I wanted a left hand column (DIV) to fill the left hand side and a right hand column to fill the rest of the page (except the header). I have attached my CSS and ASPX file for reference and the screenshot shows that both in Firefox and IE7 (with scroll bars off) the two CSS Divs go beyond the boundaries of the screen (I also tried to get a 2px margin on all sides so that the div border can be seen)
image is here:http://img529.imageshack.us/img529/7505/29882421.jpg
The CSS File
* {
margin: 0;
}
html, form, body {
height: 100%;
margin:0;
padding:0;
font-family: "Segoe UI", "Lucida Grande", Helvetica, verdana, sans-serif;
font-size: 11px;
background: url(/Manage.UI/App_Themes/Default/header.png) no-repeat;
overflow: hidden;
}
#header
{
height:162px;
background: url(/Manage.UI/App_Themes/Default/header.png) no-repeat;
}
#left
{
top: 65px;
border-width: 1px;
border-style: solid;
border-color: #c6c6c6;
min-height:100%;
height: auto !important;
height: 100%;
width:300px;
bottom:100px;
left: 2px;
position: absolute;
float:left;
background-color: White;
}
.wrapper {
min-height: 100%;
width: 100%;
height: auto !important;
height: 100%;
top: 0px;
position: relative;
margin: 2px 2px 2px 2px;
}
#right
{
top: 65px;
border-width: 1px;
border-style: solid;
border-color: #c6c6c6;
height:100%;
width:100%;
left: 305px;
position: absolute;
float:right;
background-color: White;
}
And the ASPX Page
<link href="App_Themes/Default/Core.css" rel="Stylesheet" />
</head>
<body>
<form id="form1" runat="server">
<div class="wrapper">
<div id="left"></div>
<div id="right"></div>
</div>
</div>
</form>
</body>