View Full Version : java applet resize

Jul 30th, 2002, 02:55 AM
I have this code for a java chat room and here is a part of it :

(sample in px)

<applet code="something.class" codebase="http://something.something.com" archive="something.zip"
width=500 height=315>

Ok my question is..when I try to make the width in %, it will not show it.. this is how it looks... width=100% height 315...and it will not show it...how can I make my width in % and still see the applet?

Please help..

Jul 30th, 2002, 05:19 AM
I just tried it, and the applet works perfectly fine with width set at 100%...
I'm not sure if this is your problem, or if you just made a typo in your post, but you seem to be missing an equal sign in the part where you say "this is how it looks... width=100% height 315" <--that should be "height=315" instead...
But having the width in percentage 'should' work, and does work for me...