Represents a CSS rect (rectangle) value.
Platform Support
IE | Mozilla | Netscape | Opera | Safari | no | 1.0+ | 6.0+ | 9.0+ | 1.0+ |
---|
Constructors
Constructor | Action | IE | Mozilla | Netscape | Opera | Safari | ||
---|---|---|---|---|---|---|---|---|
Rect Constructor() : Rect
Represents a CSS rect (rectangle) value.
|
Show Details | no | 1.0+ | 6.0+ | 9.0+ | 1.0+ | ||
Rect() : RectRepresents a CSS rect (rectangle) value. Returns
|
Properties
Property | Action | IE | Mozilla | Netscape | Opera | Safari |
---|---|---|---|---|---|---|
bottom
: CSSPrimitiveValue
Bottom of the rectangle.
|
Show Details | no | 1.0+ | 6.0+ | 9.0+ | 1.0+ |
|
||||||
left
: CSSPrimitiveValue
Left side of the rectangle.
|
Show Details | no | 1.0+ | 6.0+ | 9.0+ | 1.0+ |
|
||||||
right
: CSSPrimitiveValue
Right side of the rectangle.
|
Show Details | no | 1.0+ | 6.0+ | 9.0+ | 1.0+ |
|
||||||
top
: CSSPrimitiveValue
Top of the rectangle.
|
Show Details | no | 1.0+ | 6.0+ | 9.0+ | 1.0+ |
|
Availability
HTML DOM Level 2|W3C