[Javascript] DOM: adding CSS to created DIV

David Dorward david at dorward.me.uk
Mon Jan 22 02:41:53 CST 2007


On Mon, Jan 22, 2007 at 09:42:29AM +0100, Michael Borchers wrote:

> So .style.cssText will always work fine? 

AFAIK it will, I've never used it (as setting a .className has usually
done the trick for me when I wanted to set lots of styles at once).

-- 
David Dorward                                      http://dorward.me.uk




More information about the Javascript mailing list