[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Mysterious extra padding below canvas

Thanks Greg

On 11/11/2010 11:43 AM, Gregg Tavares (wrk) wrote:
Ok, my bad. I was going with what's worked in the past.

The issue is that <canvas> is by default an inline element.  Inline elements have a baseline.

To fix the issue change the style of the canvas to a block

canvas {
  display: block;

Alan Chaney
CTO and Founder, Mechnicality, Inc.

You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email: