width of div/layer?

admin

Administrator
Staff member
My main question is: How do I find out the width of the div/layer in IE and in NS?

The problem is that the only handle I found with which you can move a layer is:
(IE) document.all.divname.stlye.pixelLeft
(NS) document.layers.layername.left

But I want to line up a div/layer along the right side so if I want the right side to be at pixel 250 I would need to lign the left side up with (250 - width).
I didn't find a way to get hold of the width though :(

Would really appreciate any help!

Ahh - one last small, minor question: Can you make divs/layers semi-transparent? If yes, how?

Thanks a million in advance!
---
BigBadaBoom
 
Back
Top