Reputation: 1425
I have a form control that I'm trying to position on a page. I've used absolute positioning which works perfectly in IE. However the position is very off in Firefox. Any idea on what I may be doing wrong?
#Control-wrapper {
position:relative;
}
#Control {
position:absolute;
text-align:left;
left:100px;
top:790px;
}
<div id="Control-wrapper">
<div id="Control" class="HideDiv">
<%Html.RenderPartial("MyControl")%>
</div>
</div>
Upvotes: 0
Views: 190
Reputation: 943163
You're nesting forms. That's forbidden.
<!ELEMENT FORM - - (%block;|SCRIPT)+ -(FORM) -- interactive form -->
— http://www.w3.org/TR/html4/interact/forms.html#h-17.3
Upvotes: 3