t#2473 change display from table to inline-block divs