A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Engineering
»
HTML, CSS and JavaScript
Author
ie 9 - Wrong layout when table wrapped with form
Sharon whipple
Ranch Hand
Joined: Jul 31, 2003
Posts: 294
posted
Nov 29, 2011 21:28:43
0
Hi all,
With ie 9 i got Wrong layout when simple table is wrapped with FORM element,
With Firefox layout is ok.
example:
http://jsfiddle.net/54s3C/
If you remove the form wrapping the table - it will work ok,
Any idea? Is it my code bad, or is it IE bug?
Thank you for your help.
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
6
posted
Nov 30, 2011 14:36:55
1
It is invalid HTML when you have a form in a form.
IE is probably closing the original form which is breaking your page.
Eric
Sharon whipple
Ranch Hand
Joined: Jul 31, 2003
Posts: 294
posted
Dec 06, 2011 18:52:58
0
Eric Pascarello wrote:
It is invalid HTML when you have a form in a form.
Eric
I splited the two forms, and its working fine,
Thank you for your help!
I agree. Here's the link:
http://zeroturnaround.com/jrebel/download
subject: ie 9 - Wrong layout when table wrapped with form
Similar Threads
AWT
Dynamic datatable in jsf
ScrollPane trouble
Struts2 Form + Div display error
Simple question about Unwrapped and Wrapped SOAP messages/WSDLs
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter