Hi. I’m trying to set a DIV as a table and a SPAN within the DIV as a table-cell. The SPAN should be the same height as DIV and display text right in the middle no matter the length of the text.
Span is displayed as a table-cell in order to vertically align the text in the box that is the same height as the parent element. That doesn’t seem to work, so that’s why I’m asking for a little bit of help:-)
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘CSS’ is closed to new topics and replies.