aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes ie 9 - Wrong layout when table wrapped with form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "ie 9 - Wrong layout when table wrapped with form" Watch "ie 9 - Wrong layout when table wrapped with form" New topic
Author

ie 9 - Wrong layout when table wrapped with form

Sharon whipple
Ranch Hand

Joined: Jul 31, 2003
Posts: 294
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: 15376
    
    6
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
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!
 
 
subject: ie 9 - Wrong layout when table wrapped with form