• Post Reply Bookmark Topic Watch Topic
  • New Topic

Height and Width In percentage

 
Fardeen Siddiqui
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
how can we specify the width and height of an applet in an applet tag of html in percentage
is it possible?
thanx
 
kanamala
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is possible.
add this in HTML page..
<applet code=ss.class height=100% width=100%></applet>
the height and width are adjusted according to the size of the browser. Here 100% means Applet occupies the full window..
you can try it out..
bye
Kanamala

Originally posted by Fardeen Siddiqui:
Hi all,
how can we specify the width and height of an applet in an applet tag of html in percentage
is it possible?
thanx

 
Fardeen Siddiqui
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i am using a html <td> in which the applet is placed..now this <td> is in percentage..but the applet width doesn't take percentage so there is blank spaces left at higher resolutions..
can u suggest me a way
Thanx
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!