[Javascript] style on created div element

Flavio Gomes flavio at economisa.com.br
Wed Apr 12 09:33:29 CDT 2006


It seems to work fine here.. try the attached script, and change from 
"none" to "block"
(check status bar (window.status) for the count)

Tested on IE 6 / Mozilla 1.7.12

Michael Borchers escreveu:

>   var Div = document.createElement("DIV");
>   Div.style.display = "none";
>  cell.appendChild(Div);
>  
> is this supposed to work? (besides the cell etc. this works fine with 
> my script)
> the div created always seems to be visible:(
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>  
>

-- 
Flavio Gomes
flavio at economisa.com.br

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20060412/a46ffd10/attachment.html>


More information about the Javascript mailing list