From: Dan W. <dy...@da...> - 2003-06-16 16:49:22
|
On Mon, 2003-06-16 at 11:45, Simon Hutchinson wrote: > Hi, > > Im brand new to Dynapi and have created a simple layer with a list added > as a child. > I have been trying and failing to change the font size of the text of > the list items. > > have tried using the css property of the layer (after it has been > written to the document) > > myLayer.css.fontSize = "2" Well, at least with css, that should be: myLayer.css.fontSize = "12pt"; (or whatever size, you can't use the sizes that you would use in the font tag. you have to do either point sizes, or percentages of the default size, say 2em (=200% for the fontsize at least) for twice the default size. > > and also the css property of the list. > > Can anybody please point me in the right direction. > > Cheers > > Si > -- Dan Willemsen <dy...@da...> |