I've been trying to use examples from the web, but I just can't seem to get it right. Who better to ask than you guys?
I want to evenly distribute id="klip". I have set their widths to 18% so that each space is 2%.
Here's how it looks now: https://jsfiddle.net/d8L1Lax4/
My HTML:
<div class="boks">
<span id="klip">2 KLIP</span>
<span id="klip">8 KLIP</span>
<span id="klip">16 KLIP</span>
<span id="klip">32 KLIP</span>
<span id="klip">48 KLIP</span>
</div>
My CSS:
.boks > #klip, #pris {
display: inline-block;
*display: inline; /* For IE7 */
zoom: 1; /* Trigger hasLayout */
width: 18%;
text-align: center;
background-color: #da85a3;
padding-top: 20px;
padding-bottom: 20px;
font-family: 'Poppins', sans-serif !important;
font-size: 17px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}