Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question java applet resize

    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>
    </applet>

    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..

  • #2
    New Coder
    Join Date
    Jul 2002
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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...


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •