PDA

View Full Version : simple html question



rajatQ2
01-14-2003, 09:50 PM
I have a simple html question for you all.
Here it is. I have a java applet in a window that i want to be by itself. I dont really want any whitespace around the outside of the applet. Right now, i just have the Body tags, then the Applet tags.

This leaves a small white space around the outside. see:
http://www.ews.uiuc.edu/~rbanerje/pictures/ChamelearnWhitespace.jpg


See the left and top of the inside of the window? i want to remove that. ANy ideas, other than changing the background color to match the applet? I know there is a way to do it with tables but cant remember. Thanks

skynet
01-15-2003, 03:34 PM
< body marginwidth="0" marginheight="0" >

rajatQ2
01-15-2003, 04:49 PM
Thanks sky. No dice however. It still shows up the same way.

I looked up marginheight and marginwidth and they seem to be written for framesetting. IS that true?

skynet
01-16-2003, 04:41 PM
If you are using frames then those same settings can go in there, but why are you using frames for one single window?

skynet
01-16-2003, 04:42 PM
There is also <body leftmargin="0" topmargin="0" > try them