Hello!
I have a HTML file like this (I only put the body of the page):
<body>
<form id="form1" runat="server">
<div class="divBody">
<div id="divHeader">
</div>
<div id="leftColumn">
Welcome!
</div>
<div id="rightColumn">
</div>
</div>
</form>
</body>
And it css file contains this:
.divBody {
border-style: dotted;
border-width: medium;
margin: 0 auto;
width: 1024px;
height: 768px;
position: relative;
}
#divHeader {
width: 100%;
height: 70px;
background-color: #000000;
}
#leftColumn {
width: 33%;
height: 100%;
background-color: #FF0000;
float: left;
}
#rightColumn {
width: 66%;
height: 100%;
background-color: #00FF00;
}
I want a header and two columns. The header it is Ok, but columns are bigger than divBody's Height, and rightColumn doesn't fit the 66% of divBody's width.
What's happening?
Thank you.