我有使用this表格显示属性的CSS jsbin。我希望行填充整个display: table容器的宽度,单元格填充行,但实际上,行似乎是根据其内容自动调整大小的。有人知道这是怎么回事吗?
display: table
发布于 2014-11-23 12:53:25
是否确实需要table table-row table-cell格式?
table
table-row
table-cell
据我测试,table-row对宽度没有响应。当移除tr并将其用作普通元素时,整个过程将再次正常工作。
tr
edited bin
https://stackoverflow.com/questions/27085266
相似问题