IE text input problem with dialogs

IE text input problem with dialogs

Hi, I have a problem with some text inputs, inside a dialog, being displayed incorrectly in IE. I'm using jQuery 1.3.2 and jQuery UI 1.7.2.

I have a very simple form inside a dialog. I'm using a table for the layout and some labels and inputs. 
With webkit or mozilla everything works fine, but with IE6 and 7 (I haven't tested it with IE8) I get some shrunken inputs (check the attachment).

Has anyone faced this problem? Am I doing something that I shouldn't be doing?

Here's the code:

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3.   <head>
  4.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5.     <title>Test page</title>
  6.     <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
  7.     <script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script>
  8.     <link type="text/css" href="css/ui-lightness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
  9.   </head>
  10.   <body>
  11.     <div id="trigger-dialog" title="New trigger">
  12.       <form id="trigger-form" action="">
  13.         <table>
  14.           <tbody>
  15.             <tr>
  16.               <td><label for="triggerID">Name:</label><em>*</em></td>
  17.               <td><input type="text" name="triggerID" id="triggerID" maxlength="50" size="50" class="ui-widget-content ui-corner-all ui-state-default" /></td>
  18.             </tr>
  19.             <tr>
  20.               <td><label for="triggerFQL">Query (FQL):</label><em>*</em></td>
  21.               <td><textarea name="triggerFQL" id="triggerFQL" rows="7" cols="47" class="ui-widget-content ui-corner-all ui-state-default"></textarea></td>
  22.             </tr>
  23.             <tr>
  24.               <td><label for="qtPipeline">QT Pipeline:</label><em>*</em></td>
  25.               <td><input type="text" name="qtPipeline" id="qtPipeline" maxlength="50" size="50" class="ui-widget-content ui-corner-all ui-state-default" /></td>
  26.             </tr>
  27.             <tr>
  28.               <td><label for="datepicker">Expiration date:</label></td>
  29.               <td><input type="text" name="datepicker" id="datepicker" class="ui-widget-content ui-corner-all ui-state-default" /></td>
  30.             </tr>
  31.           </tbody>
  32.         </table>
  33.       </form>
  34.     </div>
  35.     <script type="text/javascript">
  36.       $(function () {
  37.         $("#datepicker").datepicker({ dateFormat: "mm/dd/yy" });
  38.         $('#trigger-dialog').dialog({ 
  39.           autoOpen: true, modal: true, width: 600, show: 'scale', hide: 'scale',
  40.           title: 'New trigger',
  41.           close: function(event, ui) {
  42.               console.log('close');
  43.           },
  44.           buttons: { 
  45.               "OK": function() {
  46.                 console.log('ok');
  47.               }, 
  48.               "Cancel": function() {
  49.                 console.log('cancel');
  50.                 $(this).dialog('close');
  51.               } 
  52.           }
  53.         });
  54.       });
  55.     </script>
  56.   </body>
  57. </html>

Cheers!