Rowspan in table to div

I have a table at http://dot.kr/x-test/html/table/05.php

The text “Asia” in yellow background is vertically middle positioned in the yellow cell.

if I change it from table to div, how can I get the vertically middle position which is between Korea and China?

Divs can be set to display as table or table-cell which will allow you to use vertical-align on them.

You can also do vertical alignment with flexbox.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.