Hey, it is probably still adding leading. Try font-size: 0px ? and/ or line-spacing: 0px ?
On 2006-10-02, at 14:04 EDT, Henry Minsky wrote: > Setting __LZdiv.style.fontSize = "1px" seems to bring the line down > to 2 pixels, but not to one :-( > > > On 10/2/06, Michael Gregor < [EMAIL PROTECTED]> wrote:I > might have run into this before... > > it has to do with the fact that the text that could be put in the div > would occupy 19px. > Setting a text related property fixed this for me... > > I can dig up my example if you have not already solved this. > > MG > > > On Sun, Oct 1, 2006 at 6:37 AM, P T Withington wrote: > > > Weird. What is in the empty view that is overflowing? > > > > On 2006-10-01, at 07:54 EDT, Henry Minsky wrote: > > > >> setting style.overflow = "hidden" seems to fix it. > >> > >> > >> On 10/1/06, Max Carlson <[EMAIL PROTECTED]> wrote: > >>> > >>> When I try to run this in IE: > >>> <canvas> > >>> <view id="foo" width="560" height="1" bgcolor="0x394660" > >>> oninit="Debug.write(this.sprite.__LZdiv)"/> > >>> </canvas> > >>> > >>> The view is way too tall - much larger than one pixel. For some > >>> reason > >>> I can't understand, the clientHeight of the div is 19. Any ideas > >>> anyone? > >>> > >>> Regards, > >>> Max Carlson > >>> OpenLaszlo.org > >>> > >>> _______________________________________________ > >>> Laszlo-dev mailing list > >>> [email protected] > >>> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev > >>> > >> > >> > >> > >> -- > >> Henry Minsky > >> Software Architect > >> [EMAIL PROTECTED] > > > > > > _______________________________________________ > > Laszlo-dev mailing list > > [email protected] > > http://www.openlaszlo.org/mailman/listinfo/laszlo-dev > > > > > -- > Henry Minsky > Software Architect > [EMAIL PROTECTED] > _______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
