问题
IE 7 not supporting display:inline-table
?
Other browsers supports. What should I do for the alternate solution?
回答1:
Firefox and IE8 support display:inline-table;
. IE6 supports display:inline;
<style>.inline_table {display:inline-table;*display:inline;}</style>
<table class="inline_table"><tr><td>kk1</td></tr></table>
<table class="inline_table"><tr><td>kk2</td></tr></table>
回答2:
{
display: block;
height: 1%;
}
Try this.
来源:https://stackoverflow.com/questions/2688359/displayinline-table