The color in those columns is provided by a horizontally
repeating background image. Wasteful design.
A better structure would be:
Code:
<div class="wrapper">
<div class="column">
<h2>heading</h2>
<ul>
<li>list item</li>
<li>list item</li>
<li>list item</li>
</ul>
</div>
<div class="column">
<h2>heading</h2>
<ul>
<li>list item</li>
<li>list item</li>
<li>list item</li>
</ul>
</div>
<div class="column">
<h2>heading</h2>
<ul>
<li>list item</li>
<li>list item</li>
<li>list item</li>
</ul>
</div>
</div>
Then in your CSS, just style .column, .column h2, etc,
with your desired effect.
I'll get you started:
Code:
.wrapper {
width: 0; /* Adjust to contain your side-by-side columns. */
}
.column {
float: left;
margin: 0; /* Adjust to your design. */
width: 0; /* Adjust to your design. */
background-color: green;
overflow: hidden;
border-radius: 10px; /* note CSS3 properties are not fully supported. */
}
.column h2 {
margin: 0;
background-color: yellow;
}
Bookmarks