Forum Moderators: not2easy

Message Too Old, No Replies

position and clip problem

         

rixis

2:31 am on Mar 14, 2004 (gmt 0)



Hi,

I have trouble to get clip working with position:relative. It siply does not work. When i change position:absolute it clips nicly.

What could i do?

SuzyUK

12:34 pm on Mar 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi rixis - Welcome to WebmasterWorld!

the clip property only applies to absolutely positioned elements. see the CSS2.1 definition [w3.org]

I've never actually found a use for "clip" yet perhaps when it can handle more than rectangles though.....

would the overflow property [w3.org] not do instead?

Suzy