Applet at position 0,0

HiIs it possible to position an applet at 0,0 my applets are surroundedby xx number of pixel in the browser.Can the stunt be done ?Regards Carsten_F
[190 byte] By [Carsten_Fa] at [2007-10-2 11:24:19]
# 1

This is SO an HTML question, and not a Java question...

Try using a stylesheet and specifying the top and left positions as zero.<html><head>

<style>

.fred { position:absolute; visibility:visible; top:0; left:0; }

</stye>

</head>

<body>

<applet name='testApplet' code="testApplet.class" width=640 height=480 class="fred"></applet>

</body>

</html>

Laszlo.a at 2007-7-13 4:29:14 > top of Java-index,Java Essentials,Java Programming...
# 2
I know - BUT java guys must use it to show an appletso I made a guess that somebody in this forum couldhave an idea how to do it.But I will try it.Thanks.Regards Carsten_F
Carsten_Fa at 2007-7-13 4:29:14 > top of Java-index,Java Essentials,Java Programming...
# 3
HeyIt almost works :)I still have a small border to the right and bottom, can youtell me how to get rid of that too. I use width=100% and height=100%Carsten_F
Carsten_Fa at 2007-7-13 4:29:14 > top of Java-index,Java Essentials,Java Programming...
# 4
I'm actually not sure how to do it "peroperly", but think "outside the box' (I hate that term!) - try width=102% height=102%It may look different in different browsers.Maybe there's a vaguely reliable page size value available to JavaScript. I haven't done JS in ages.
Laszlo.a at 2007-7-13 4:29:14 > top of Java-index,Java Essentials,Java Programming...
# 5
OkayThanks a lot so farCarsten_F
Carsten_Fa at 2007-7-13 4:29:14 > top of Java-index,Java Essentials,Java Programming...