Click here to Skip to main content
15,888,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I am using .Net 2012 MVC 4.0 with the standard site.css file, where in IE9 the textbox appear horizontal, but in IE11, they appear vertical. I would like for them to appear vertical for both versions. Is there something that I am missing in my site.css? Can someone point me in the right direction?
CSS
.display-field,
.editor-field {
  float:left;
  clear:right;
}

The following code is in my cshtml
C#
<div class="editor-label">
  @Html.LabelFor(model => model.Title)
</div>

Thanks in advanced
Kountree
Posted
Updated 17-Feb-15 18:27pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900