I'm attempting to replicate the layout shown in the desired.png file (specifically with an outer box surrounding two inner boxes).
Currently, my code doesn't display the expected outer box around the two inner boxes. How can I modify it to achieve the desired result?
Sandbox
<style type="text/css">
#wrap {
//width:600px;
//margin:0 auto;
border:1px solid red;
//height:100px;
}
#left_col {
float:left;
width:300px;
border:1px solid black;
}
#right_col {
float:right;
width:300px;
border:1px solid orange;
}
</style>
</head>
<body>
<div id="wrap">
<span id="left_col">
...
</span>
<span id="right_col">
...
</span>
</div>
</body>