Hi. i embed an applet in a html page with following code: < applet codebase="." code="x.class" width=50% height=50%> < /applet> when resize browser in IE,the applet will change dynamically. But in Netscape 4.7,the applet size will not change. How to solve this problem? Thanks for your answer in advance. Edited by Cindy to get the HTML to display instead of execute. [This message has been edited by Cindy Glass (edited February 09, 2001).]
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
posted
0
Lets move this to applets and see if you get an answer over there.
"JavaRanch, where the deer and the Certified play" - David O'Meara
Stephanie Grasson
Ranch Hand
Joined: Jun 14, 2000
Posts: 347
posted
0
Hi Rose! I tried using both Netscape 4.7 and IE 5 to open an html page with an embedded applet (width and height set to 50%) and resize them. They both worked as expected. Is it possible that something in your Java code is causing this? It might be easier to tell if you could post your code. I do not see anything wrong with the way you set up your html. Stephanie