title: Loading Java applet with height set to 100%
body: <p>I have an webpage that displays a java applet. The applet is resized if the window is resized using JavaScript which works fine.
  The width and height of the applet is set to 100%. When the applet is loading, an image is displayed </p>
  
  <pre><code>image = "preloader.gif"
  </code></pre>
  
  <p>Using IE 6/7 everything works fine. But in Firefox, the applet has a height of approximately 200 pixels. The width is correct at 100%. Therefore, the preloader image is cut in half. After the applet has loaded and the javascript resizes the page, width and height are set correctly. </p>
  
  <p>If I change the HTML code and use fixed sizes for the applet, the object displays correctly during loading, but cannot be resized afterwards.</p>
  
  <p>Is there any solution to this problem?</p>
  
  <p>Thanks,
  Daniel</p>
  
  <p>ps I'm using the Object / embed Tag, but the problem is the same if I use the applet tag.</p>