I have a parent div that's 960px wide and I have 5 divs inside that which I want to fill the width of the parent equally.
The reason I'm not just dividing 960 x 5 is because they will act as buttons and if I add or take one away I want them to adjust to the parent divs width.
I also want a 5px gap between each div so they're not touching.
This is my HTML set up at the moment:
<div class="parent">
<a href="home.html"><div id="home">HOME</div></a>
<a href="about.html"><div id="about">ABOUT</div></a>
<a href="getoffer.html"><div id="getoffer">GET OFFER</div></a>
<a href="testimonials.html"><div id="testimonials">TESTIMONIALS</div></a>
<a href="contact.html"><div id="contact">CONTACT</div></a>
</div>
Full JSFiddle