By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,566 Members | 1,785 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,566 IT Pros & Developers. It's quick & easy.

clip property and position property with valule other than static and absolute

P: 64
Hi,

I quoted this statement from w3schools site in http://www.w3schools.com/css/pr_pos_clip.asp , that state:"What happens if an image is larger than its containing element? - The clip property lets you specify the dimensions of an absolutely positioned element that should be visible, and the element is clipped into this shape, and displayed."

is clip property for absolutely positioned elements merely?
for example it dont work correctly with relatively positioned elements?

in advance, thanks.
Jun 12 '11 #1

✓ answered by Dormilich

is clip property for absolutely positioned elements merely?
the W3C is a bit more clear about that:
The clip property applies only to absolutely positioned elements. (ref.)


PS. I advice to change your reference material, w3schools is not that good.

Share this Question
Share on Google+
1 Reply


Dormilich
Expert Mod 5K+
P: 8,639
is clip property for absolutely positioned elements merely?
the W3C is a bit more clear about that:
The clip property applies only to absolutely positioned elements. (ref.)


PS. I advice to change your reference material, w3schools is not that good.
Jun 14 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.