Width of a DIV

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mat

    Width of a DIV

    Hi there,

    If I don't set the width property of a DIV and simply allow it to size
    itself according to its content how can I then find the width it is on
    screen. When I interrogate the
    document.getEle mentById('myDiv ').style.width property it return
    nothing and the pixelWidth property returns 0.

    Any suggestions would be very helpful. Please also reply by email to
    mat_guthrie@hot mail.com

    Mat
Working...