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 <[EMAIL PROTECTED]>
# [mailto:Jordi \"ilMaestro\" Ministral <[EMAIL PROTECTED]>]
# Sent: woensdag 7 februari 2001 17:42
# To: [EMAIL PROTECTED]
# 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
# [EMAIL PROTECTED]
# http://lists.sourceforge.net/lists/listinfo/dynapi-dev
# 

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to