Hi
I have added a table into the tabstrip. the table aligns nicely in Forefox and Chrome, however in Internet Explorer the table width goes out of the tabstrip boundary and off the screen.
Is there a way to get IE to realign the table. This happens across all versions of IE. I have attached the HTMl part of the code below
tabstrip.Add().Text("Dispensary")
.Content(@<text>
<table>
<tr>
<th></th>
<th>S</th>
<th>S</th>
<th>A</th>
<th>Prism</th>
<th>Add</th>
<th>Lens</th>
<th>OC</th>
<th>Height Above Lower Tangent</th>
</tr>
<tr>
<th>R</th>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseSRight)
@Html.ValidationMessageFor(model => model.DispenseSRight)
</div>
</td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseCRight)
@Html.ValidationMessageFor(model => model.DispenseCRight)
</div>
</td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseARight)
@Html.ValidationMessageFor(model => model.DispenseARight)
</div>
</td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispensePrismRight)
@Html.ValidationMessageFor(model => model.DispensePrismRight)
</div>
</td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseAddRight)
@Html.ValidationMessageFor(model => model.DispenseAddRight)
</div>
</td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseLensRight)
@Html.ValidationMessageFor(model => model.DispenseLensRight)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseOCRight)
@Html.ValidationMessageFor(model => model.DispenseOCRight)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseHeightAboveRight)
@Html.ValidationMessageFor(model => model.DispenseHeightAboveRight)
</div>
</td>
</tr>
<tr>
<th>L</th>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseSLeft)
@Html.ValidationMessageFor(model => model.DispenseSLeft)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseCLeft)
@Html.ValidationMessageFor(model => model.DispenseCLeft)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseALeft)
@Html.ValidationMessageFor(model => model.DispenseALeft)
</div>
</td>
<td> <td>
<div class="editor-field">
@Html.EditorFor(model => model.DispensePrismLeft)
@Html.ValidationMessageFor(model => model.DispensePrismLeft)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseAddLeft)
@Html.ValidationMessageFor(model => model.DispenseAddLeft)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseLensLeft)
@Html.ValidationMessageFor(model => model.DispenseLensLeft)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseOCLeft)
@Html.ValidationMessageFor(model => model.DispenseOCLeft)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseHeightAboveLeft)
@Html.ValidationMessageFor(model => model.DispenseHeightAboveLeft)
</div>
</td>
</tr>
</table>
</text>);
I have added a table into the tabstrip. the table aligns nicely in Forefox and Chrome, however in Internet Explorer the table width goes out of the tabstrip boundary and off the screen.
Is there a way to get IE to realign the table. This happens across all versions of IE. I have attached the HTMl part of the code below
tabstrip.Add().Text("Dispensary")
.Content(@<text>
<table>
<tr>
<th></th>
<th>S</th>
<th>S</th>
<th>A</th>
<th>Prism</th>
<th>Add</th>
<th>Lens</th>
<th>OC</th>
<th>Height Above Lower Tangent</th>
</tr>
<tr>
<th>R</th>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseSRight)
@Html.ValidationMessageFor(model => model.DispenseSRight)
</div>
</td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseCRight)
@Html.ValidationMessageFor(model => model.DispenseCRight)
</div>
</td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseARight)
@Html.ValidationMessageFor(model => model.DispenseARight)
</div>
</td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispensePrismRight)
@Html.ValidationMessageFor(model => model.DispensePrismRight)
</div>
</td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseAddRight)
@Html.ValidationMessageFor(model => model.DispenseAddRight)
</div>
</td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseLensRight)
@Html.ValidationMessageFor(model => model.DispenseLensRight)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseOCRight)
@Html.ValidationMessageFor(model => model.DispenseOCRight)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseHeightAboveRight)
@Html.ValidationMessageFor(model => model.DispenseHeightAboveRight)
</div>
</td>
</tr>
<tr>
<th>L</th>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseSLeft)
@Html.ValidationMessageFor(model => model.DispenseSLeft)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseCLeft)
@Html.ValidationMessageFor(model => model.DispenseCLeft)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseALeft)
@Html.ValidationMessageFor(model => model.DispenseALeft)
</div>
</td>
<td> <td>
<div class="editor-field">
@Html.EditorFor(model => model.DispensePrismLeft)
@Html.ValidationMessageFor(model => model.DispensePrismLeft)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseAddLeft)
@Html.ValidationMessageFor(model => model.DispenseAddLeft)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseLensLeft)
@Html.ValidationMessageFor(model => model.DispenseLensLeft)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseOCLeft)
@Html.ValidationMessageFor(model => model.DispenseOCLeft)
</div>
</td>
<td>
<td>
<div class="editor-field">
@Html.EditorFor(model => model.DispenseHeightAboveLeft)
@Html.ValidationMessageFor(model => model.DispenseHeightAboveLeft)
</div>
</td>
</tr>
</table>
</text>);