'scrollWidth' Syntax and Note : scrollWidth « Javascript Properties « JavaScript Reference

'scrollWidth' Syntax and Note

Note:

Read-only properties. 
Return the element's total width.
    
Syntax:
    
document.all.getElementById("elementID").scrollHeight
document.all.elementID.scrollHeight // IE only
document.all.getElementById("elementID").scrollWidth
document.all.elementID.scrollWidth // IE only

    

      
      








Related examples in the same category

1.'scrollWidth' Example
2.'scrollWidth' is applied to