I have the following HTML (JSFiddle):
<div class="form-group tabled-contents">
<div style="display: table-row;">
<input id="BodyContentPlaceholder_TxtCustomerId" type="text">
<input id="BodyContentPlaceholder_BtnShowByCustomerId" type="submit" value="Show">
</div>
</div>
And the following CSS:
.tabled-contents {
display: table;
width: 100%;
}
.form-group input[type=text], .form-group input[type=submit] {
display: table-cell;
width: 200px;
}
It looks as expected in all browsers (Chrome, FF etc.): both inputs are on the same row.
But in IE11 the second input is rendered under the first one.
Does anybody know why it's so and how to make it to be shown in IE the same way as in the other browsers?