We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsSoftware Bugs › Exported html file has "padding" around window
Page Index Toggle Pages: 1
Exported html file has "padding" around window (Read 1209 times)
Exported html file has "padding" around window
Apr 22nd, 2005, 3:46am
 
In trying to export the following code, I get
a window within a grey applet window. In other
words, it appears that there is the applet
window and then around it (in particular, to
the right and down), there is "filler", a larger
window seems to be drawn.

It is happening with all of my exported processing
codes, but this is just a simple instance:

void setup()
{
 background(255);
 size(500, 500);
 ellipseMode(CENTER_RADIUS);
 ellipse(250,250,50,50);
}

Re: Exported html file has "padding" around window
Reply #1 - Apr 22nd, 2005, 5:07pm
 
I'm not able to re-create the problem. My guess is the HTML being generated is not compatible with your browser. Can you please research this a little by modifying the HTML and seeing what fixes the problem? First let us know which browser and OS you are using.
Re: Exported html file has "padding" around window
Reply #2 - Apr 25th, 2005, 6:22pm
 
First of all, it seems to not be a problem with
export, but with all viewed Processing applets
in Internet Explorer using an ATI Mobile Radeon
9800 (XP2).

The applet window is perfectly sized under Firefox,
and on my home machine, the applet is sized
correctly in both IE and Firefox.

This leads to believe there may be a bug in the ATI
driver for the mobile radeon 9800.
Re: Exported html file has "padding" around window
Reply #3 - May 7th, 2005, 7:41pm
 
k, closing thread. may have been related to the css problems.
Page Index Toggle Pages: 1