• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 183
  • Last Modified:

replacement of 'document.all' for netscape 6 or firefox

i read from the web that document.all is not supported for netscape 6. is there a way to find out the object width regardless of the browser used by the client?
My current codes are:
document.all.item(aBoxes[i]).style.pixelLeft
but i cant use in for netscape 6
0
wisecat83
Asked:
wisecat83
1 Solution
 
hesCommented:
Try
document.getElementById("dwindow").style.width
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now