I currently have the following CSS for my 4 columns which might grow to 5 or 6 in the future:
<style>
.columns {
margin: 0 auto;
border: 1px red dotted;
width: 90%;
}
.columns div {
float: left;
width: 20%;
overflow:hidden;
border: solid 1px;
margin-right: 1em;
}
</style>
<div class="columns">
<div>
<h3>First</h3>
<ul>
<li>left</li>
</ul>
</div>
<div>
<h3>Second</h3>
<ul>
<li>mid</li>
</ul>
</div>
<div>
<h3>Third</h3>
<ul>
<li>right</li>
</ul>
</div>
<div>
<h3>Fourth</h3>
<ul>
<li>far right</li>
</ul>
</div>
</div>
Is it possible to use what I have to centre all 4 columns in the middle of the page?