>>Not sure how they all work, but you should be able to figure it out.
OK. if you say so. but
DynAPI.document.addChild(topblue);
topblue.setHTML('<p class="homer">doh!</p>') ;
topblue.css.fontFamily('serif') ;
returns [line number]Object doesn't support his action. (Win2000/IE5.5)
from what I've read here and in the tuts, this should be the right approach.
I need a morsel, just a snippet of working code . . . </pathetic_pleading>
Thanks for the list of properties. I wouldn't expect browsers to support all
or them (yet), but they should conform to the known limitations of their CSS
implementations,available at
(http://www.webreview.com/style/css1/charts/mastergrid.shtml)
Greg
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Pascal
> Bestebroer
> Sent: Friday, February 09, 2001 10:56 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Dynapi-Help] can we add style to a DynLayer?
>
>
> you can only access the .css properties after adding the layer to a parent
> object.
>
>
> Pascal Bestebroer
> [EMAIL PROTECTED]
> http://www.dynamic-core.net
>
> > -----Oorspronkelijk bericht-----
> > Van: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]Namens Lluis Casany
> > Verzonden: vrijdag 9 februari 2001 18:40
> > Aan: '[EMAIL PROTECTED]'
> > Onderwerp: RE: [Dynapi-Help] can we add style to a DynLayer?
> >
> >
> > error: 'myLayer.css' is not an object.
> >
> > should I to include any lib special lib?
> >
> > thanks in advance.
> >
> > -----Mensaje original-----
> > De: Pascal Bestebroer [mailto:[EMAIL PROTECTED]]
> > Enviado el: viernes, 09 de febrero de 2001 18:26
> > Para: [EMAIL PROTECTED]
> > Asunto: RE: [Dynapi-Help] can we add style to a DynLayer?
> >
> >
> > you can set style properties using the css property of the DynLayer
> >
> > myLayer.css.mycssproperty=myvalue
> >
> >
> > Pascal Bestebroer
> > [EMAIL PROTECTED]
> > http://www.dynamic-core.net
> >
> > > -----Oorspronkelijk bericht-----
> > > Van: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]Namens Lluis Casany
> > > Verzonden: vrijdag 9 februari 2001 18:17
> > > Aan: '[EMAIL PROTECTED]'
> > > Onderwerp: [Dynapi-Help] can we add style to a DynLayer?
> > >
> > >
> > >
> > > Is there any method or system to add style in a Layer?
> > >
> > > something like that:
> > >
> > > myLayer.addStyle('font-family:verdana; font-size: 9pt');
> > > myLayer.setHTML('hi there!');
> > >
> > > thanks in advance.
> > >
> > > _______________________________________________
> > > Dynapi-Help mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.sourceforge.net/lists/listinfo/dynapi-help
> > >
> >
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-help
> >
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-help
> >
>
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help