Opened 9 years ago

Closed 9 years ago

#10019 closed bug (notabug)

HTML DocType in IE8

Reported by: ataft Owned by:
Priority: minor Milestone: none
Component: ui.dialog Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:


jQuery Dialog does not work in IE 8.0 for older doctypes such as: <!DOCTYPE HTML PUBLIC "-W3CDTD HTML 4.0 TransitionalEN">

Modal doesn't work, the title is off, the close icon is missing, and it will not center. The last JQuery UI version that it appears to work with is 1.9.2, but it still will not center in 1.9.2. I could not use JSFiddle for code because it doesn't allow you to edit the DOCTYPE, therefore, here is the code:


<html lang="en"> <head>

<meta charset="utf-8"> <title>jQuery UI Dialog - Default functionality</title> <link rel="stylesheet" href=""> <script src=""></script> <script src=""></script> <link rel="stylesheet" href="">

<script> $(function() {

$( "#dialog" ).dialog({modal:true});

}); </script>

</head> <body> <div id="dialog" title="Basic dialog">

<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>

</div> <br><br> <a href="">here</a> </body> </html>

Change History (1)

comment:1 Changed 9 years ago by Scott González

Resolution: notabug
Status: newclosed

jQuery doesn't support quirks mode.

Note: See TracTickets for help on using tickets.