473,388 Members | 1,375 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

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

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.

1 1520
Dormilich
8,658 Expert Mod 8TB
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

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

Similar topics

1
by: Lee Harr | last post by:
I am just starting to use properties, and wonder what you might think of this ... class RNumber(object): def __init__(self, n, nmin, nmax): self.nmin = nmin self.nmax = nmax self.n = n
0
by: Luigi | last post by:
I would know what "criteria" is used in box positioning with the position property. Here my tries (using IE and Opera): I have a box with an absolute positioning (properties used: position,...
2
by: Carlos | last post by:
Hi all, I am designing a page with radiobuttons and textboxes using the flowlayout. However, I notice that the position property does not exist for these controls. How can I align these controls...
4
by: Scott Meddows | last post by:
How do I make a property of a user control show up in the property window in the form designer? Thanks Scott
1
by: MLH | last post by:
I have an A97 form opened in design view: frmAuthEntityEditingForm bound to tblAuth In the open property sheet on the Data tab, the 2nd item down in the list is the filter property. In it, I...
1
by: mk | last post by:
It seems like getter is defined in such way that it passes only 'self': class FunDict(dict): def __init__(self): self.fundict = dict() def fget(self, fun): return fundict
0
by: Roy H. Han | last post by:
I don't understand what you're trying to do here. On Thu, Jul 17, 2008 at 10:57 AM, mk <mrkafk@gmail.comwrote:
10
by: Derek Hart | last post by:
I can set focus to my property grid by using propgrid.Focus - but how can I set the default property that is always first? Or just set focus to the default property? Can this be done?
1
by: mfaisalwarraich | last post by:
hi everyone, i have recenlty started web designing and im not very much familiar with the CSS techniques. i have gone through tutorial like w3schools but unable to understand the CSS position...
5
Frinavale
by: Frinavale | last post by:
Hi! I'm attempting to display a <div> element on top of my page's content so that the user cannot interact with it while being prompted to answer a question. I have set this <div> to have a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.