Name
clip — NN 4 IE n/a DOM n/a
Synopsis
Read/Write
Defines a clipping region of a positionable element. This property is
treated more like an object in itself in that you adjust its values
through six properties: clip.top
,
clip.left
, clip.bottom
,
clip.right
, clip.width
, and
clip.height
. Adjust the side(s) or dimension(s) of
your choice. All values represent pixel values.
Example
document.myIlayer.clip.width = 150
Value
Integer.
Default
None.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.