• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. Using Core HTML Properties > The clientHeight, clientLeft, clientTop...

The clientHeight, clientLeft, clientTop, and clientWidth Properties

These properties give you the dimensions, in pixels, of an object that you’ve set the height, width, left position, or top position for, using CSS styles. You can see the support for these properties in Table 5.14.

Table 5.14. The clientHeight, clientLeft, clientTop, and clientWidth Properties
Property NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
clientHeight       x x x x
  Read-only
  Type: Integer
clientLeft       x x x x
  Read-only
  Type: Integer
clientTop       x x x x
  Read-only
  Type: Integer
clientWidth       x x x x
  Read-only
  Type: Integer



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint