What I'm trying to do is have 3 columns of divs, aligned centrally on the page, such as:
Example (Says i'm not allowed to post an image)
I've tried various different suggestions from websites/blogs/other questions on here, but don't seem to be getting anywhere.
First I tried floating the divs left, then giving their parent div a width and margin:auto;
That didn't work, they just stayed left.
I noticed a lot of suggestions said to stop using float for this and use display:inline-block;
So I tried that and to an extent it works, e.g: fiddle
But as soon as I add any content to any of the divs, they stop being aligned and jump down the page.
What is the simplest way to achieve this (without using tables obviously)? As I'm sure it can't be as difficult as I'm making it.
Cheers.