File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Height and Width In percentage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Height and Width In percentage" Watch "Height and Width In percentage" New topic
Author

Height and Width In percentage

Fardeen Siddiqui
Greenhorn

Joined: Dec 08, 2000
Posts: 21
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

Joined: Jan 02, 2001
Posts: 1
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

Joined: Dec 08, 2000
Posts: 21
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Height and Width In percentage