Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] DOM: adding CSS to created DIV


  • From: list at tridemail.de (Michael Borchers)
  • Subject: [Javascript] DOM: adding CSS to created DIV
  • Date: Mon Jan 22 02:46:36 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?