Hi! I am trying to develop two columns that are side by side with in the "content" div. As of now the the columns is not forcing the "content" div grow with the columns.
I am completely stumped and I could use your help?
Here is the html for the body of the page:
<div id="container">
<div id="header"><img src="images/vbgheader.png" height="186"></div>
<div id="user_options">
<a href="login.php">Sign in</a> | Not a Member yet? <a href="signup.php">Sign up</a>
</div>
<div id="menu">
<a href="#">link 1</a> <a href="#">link 2</a>
</div>
<div id="content">
<div id="col1">
blah
</div>
<div id="col2">
<br /><br /> <br /> <br /> <br /> <br /><br /> <br /> <br /><br /> <br /> <br /><br /> <br /> <br /><br /> <br /> <br /><br /> <br /> <br /><br /> <br /> <br /><br /> <br /> <br /><br /> <br /> <br /><br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br />
second colomn for something not sure yet?
</div>
</div>
<div id="footer"><span style="font-size:8pt">©2010 VBallGames.com</span></div>
</div>
here is the corresponding css:
body {
margin-left: 3em;
margin-right: 3em;
font-family:Sans-serif;
}
#container {
margin-left: auto ;
margin-right: auto ;
width:868;
}
#header {
text-align:center;
}
#user_options {
text-align:right;
font-size:9pt;
margin-bottom:2.5em;
}
#menu {
width:100%;
border-bottom-color:orange;
border-bottom-width:3px;
border-bottom-style:solid;
padding-right:6mm;
}
#content {
margin-bottom:2.5em;
height:100%;
background:rgb(240,240,255);
width:100%;
font-size:10pt;
padding:3mm;
position:relative;
}
#col1 {
border-style:solid;
border-width:1;
border-color:black;
padding:1.5mm;
width:420px;
min-height:98%;
background:white;
position:absolute;
}
#col2 {
border-style:solid;
border-width:1;
border-color:black;
padding:1.5mm;
width:420px;
position:relative;
right:0;
top:0;
float:right;
background:white;
height:98%;
}
#footer {
text-align:center;
}