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

Home Forums CSS Center text in chart Re: Center text in chart


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