View Single Post
Old 07-30-2007, 10:01 PM  
Young
Bland for life
 
Industry Role:
Join Date: Nov 2004
Posts: 10,468
Shit. Ignore the shit I added to the wrapper

Here goes the full code for a 2 Column Layout with an auto-adjusting wrapper/container.

Code:
<style type="text/css">
body {
	min-height: 100&#37;;
	}
#wrapper {
     width: 750px;
     margin-left: 200px;
     background-color:#000099;
     min-height: 100%;
     overflow:hidden;
}

#left {
   width: 500px;
   float: left;
}

#right {
   width: 250px;
   float: left;
}
</style>


<body>
<div id = "wrapper">

<div id = "left">
left
</div>

<div id = "right">
right
</div>

</div>
created in notepad. tested in firefox
__________________
★★★

Last edited by Young; 07-30-2007 at 10:02 PM..
Young is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote