Forum Moderators: not2easy
______
¦+¦++¦
¦-----¦
¦+¦++¦
¦-----¦
¦+¦++¦
-------
this is basically what it needs to look like, I'd rather not use position:absolute; because then I would have to rework the rest of the layout. Would it be better to use a table for what I want?
Would it be better to use a table for what I want?
Might be. Do you think it's tabular data?
Alternatively, try floats:
div.wrapper {
width: 500px;
position: relative;
clear: both;
}
div.left {
width: 33%;
background: #633;
position: relative;
float: left;
}
div.right {
width: 67%;
background: #336;
position: relative;
float: right;
}
<div class="wrapper">
<div class="left">Left content one</div>
<div class="right">Right content one</div>
</div><!-- wrapper -->
<div class="wrapper">
<div class="left">Left content two</div>
<div class="right">Right content two</div>
</div><!-- wrapper -->
<div class="wrapper">
<div class="left">Left content three</div>
<div class="right">Right content three</div>
</div><!-- wrapper -->