[Javascript] DOM: adding CSS to created DIV
Michael Borchers
list at tridemail.de
Mon Jan 22 02:50:36 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
before i try:
creating the div "on the fly" and just adding the class name as attribute
would be enough
to see the div with the styles i have adjusted to the CSS class?
More information about the Javascript
mailing list