The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Need help aligning columns (beginner)
Hey guys,
I have three short columns of text. I need to neatly align them one above another, but they just won’t listen! :)
Here’s the stuff: http://jsfiddle.net/Mephistopelus/zfpWg/1/
Help, please.
Why aren’t you using a table?
I’m sort of biased towards tables. Do you think table is a better choice here?
However, it’s a matter of using ‘inline-block’ and the setting percentage widths.
http://codepen.io/anon/pen/Binej
It’s tabular data so I lean towards a table but it depends on how you intend to enter the data into your html. It’s easier to read the html when all the data is bunched in a single ‘artist’ div but it might be harder in a table.
Thanks so much! I’ve finally settled with the table. Looks 100% like it should :)