Forum Moderators: not2easy
/* Main content CSS file */
#wrap {
float:left;
width:100%;
overflow:hidden;
}
#centerwrap {
border:thin solid;
float:left;
width:50%;
position:relative;
left:50%;
}
/* Boxes */
#boxwrapall {
border:thin solid;
float:left;
position:relative;
right:50%;
}
.boxwrap {
border:thin solid;
float:left;
width:200px;
height:200px;
} <div id="wrap">Depending on browsers/versions, I've seen this achieved using a combination of display, text-align and letter-spacing adjustments:
<div id="centerwrap">
<div id="boxwrapall">
<div class="boxwrap"></div>
<div class="boxwrap"></div>
<div class="boxwrap"></div>
</div>
</div>
</div>
#boxwrapall {
text-align: center;
/* letter-spacing: 50px; - adjust to suit*/
background-color:red;
}
.boxwrap {
display:inline-block;
width:200px;
height:200px;
background-color:blue;
}