From: Richard B. <ma...@ri...> - 2001-02-08 10:44:24
|
> putting it a table however,with sizes equal to the layer sizes, as sugested > by Doug Melvin, works, AFAIK That's just about what the label widget does. Cheers, Richard Bennett ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) ----- Original Message ----- From: "Pieter Van Waeyenberge" <pie...@1e...> To: <dyn...@li...> Sent: Thursday, February 08, 2001 10:55 AM Subject: RE: [Dynapi-Dev] Netscape problem: incorrect CENTERING > Thnx, > > but setting the HTML after resizing, after addding to document doent do it > either, > > putting it a table however,with sizes equal to the layer sizes, as sugested > by Doug Melvin, works, > > thnx > > .. and i forgot to mention: > Problem occurs on: NN, 4.08 [en] NT, dynapi-2001-01-25.zip > (<sourceforge.net) > > Cheerio, > pieter. > > # -----Original Message----- > # From: Jordi \"ilMaestro\" Ministral <jmi...@or...> > # [mailto:Jordi \"ilMaestro\" Ministral <jmi...@or...>] > # Sent: woensdag 7 februari 2001 17:42 > # To: dyn...@li... > # Subject: Re: [Dynapi-Dev] Netscape problem: incorrect CENTERING > # > # > # When you set the HTML into a layer before adding it to the > # document, the content > # is stored as an internal variable. When you add the dynlayer > # to the document, > # the phisical layer is created, size 0 0, and then the HTML > # writen into it. At > # that time, the browser is writing to a 0,0 sized layer, > # therefore centering the > # content makes it appear to the left of the layer. Resizing a > # layer does not > # force the content to be redrawn or rerendered. You should > # either specify the > # size of the layer before adding it to the doc or settting the > # HTML after you > # have resized it. > # > # Cya > # > # > # _______________________________________________ > # Dynapi-Dev mailing list > # Dyn...@li... > # http://lists.sourceforge.net/lists/listinfo/dynapi-dev > # > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > ____________________________________________________________ > Get your free domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > |