Clipping rectangles may be used to control how much of a the HTML within a <div> section will be displayed. They may be used only with absolute positioning.
Clipping rectangles may be used to control how much of a the HTML within a <div> section will be displayed.
The CSS specification for a clipping rectangle looks like:
clip: rect(top,right,bottom,left)
where top, right, bottom,
and left are dimensions. Thus clip: rect(10,110,110,10)
tells
the browser to display a 100x100 area starting 10 down and 10 right from
the top left of the <div> contents.
Text may also be clipped. If there is too much text to display within the clipping rectangle, it may be truncated.
Text may also be clipped.
If there is too much text to
display within the clipping
rectangle, it may be truncated.
Text may also be clipped.
If there is too much text to
display within the clipping
rectangle, it may be truncated.