css2 clip property

admin

Administrator
Staff member
I have run into some trouble using clip in IE5, NS6<br />
<br />
I can clip a block element if it is absolutely positioned, but clipping will not take place if it relatively positioned or positioning has not been set. I have set overflow: hidden.<br />
<br />
According to CSS2:<br />
<br />
11.1.2 Clipping: the 'clip' property<br />
A clipping region defines what portion of an element's rendered content is visible. By default, the clipping region has the same size and shape as the element's box(es). However, the clipping region may be modified by the 'clip' property. <br />
<br />
'clip' <br />
Value: <shape> | auto | inherit <br />
Initial: auto <br />
Applies to: block-level and replaced elements <br />
Inherited: no <br />
Percentages: N/A <br />
Media: visual <br />
<br />
The 'clip' property applies to elements that have a 'overflow' property with a value other than 'visible'. <br />
<br />
<br />
Does anyone have experiences with clipping block elements which are NOT absolutely positioned ?<!--content-->
 
Back
Top