[Javascript] DIV in a DIV

Felix bruno.lanciau at cnes.fr
Tue Aug 28 03:41:33 CDT 2001


Here is my problem: (no problem with IE but with Netcape 4+)

I have got one div in an other div:

<DIV ID="boite1" style= "position: absolute;visibility:visible; top: 210px; left : 10px; width: 500px; height: 80px; z-index:1 ;clip:rect(0,600,70,0) ; "> 


<DIV ID="boite2" style="position: absolute;visibility:visible; top: 5px;   left : 1px;   width: 500px; height:100px; z-index:2 ;clip:rect(0,600,200,0);">

.......

</DIV>
</DIV>

In a function 
    document.boite1.width=600; 

// Is OK, but how to do the same with boite2 ?
Neither  document.boite2.width=600 nor document.boite1.boite2.width=600 are OK !

Thank you for help

Felix
 
    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010828/7ec7483b/attachment.htm>


More information about the Javascript mailing list