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

Home Forums CSS Center text in chart

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #39113

    I am trying to get all my text to be in the middle of the rows. Right now they are towards the top.
    Thanks for the help


    You know this is where you should be using a table, right? The divs and spans have zero semantic value – screenreaders and search engines are going to have a tough time deciphering that data.

    not tested, but try adding vertical-align: middle; to the spans


    Cool thanks. I ended up inserting line-height: and that did the trick!
    – I am now just looking to center the rest of the text on the page so it sits more in the middle and eliminates the deadspace on the right hand side.

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