Is there a difference between display:block;
and display:table;
? It looks to me like the display type of the dom-node containing table-row
and table-cell
nodes doesn't matter. MDN says that display:table;
makes it behave like a table, but doesn't elaborate on what that behavior is. What is that behavior?
Similarly, is there a difference between display:inline-block;
and display:inline-table;
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…