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]

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