Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Need help aligning columns (beginner)

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #40481

    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.

    #112744
    Paulie_D
    Member

    Why aren’t you using a table?

    #112745

    I’m sort of biased towards tables. Do you think table is a better choice here?

    #112746
    Paulie_D
    Member

    However, it’s a matter of using ‘inline-block’ and the setting percentage widths.

    http://codepen.io/anon/pen/Binej

    #112747
    Paulie_D
    Member

    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.

    #112748

    Thanks so much!
    I’ve finally settled with the table. Looks 100% like it should :)

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.