Preserved Topic: Clipping, how to (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Solitary confinement |
posted 01-17-2002 02:31
Can someone explain clipping and what it's supposed to do? Reading the spec at W3C doesn't tell me much besides its properties. The reason I'm asking is that this site is being developed and the left and center div run off the bottom of the page. Also, the main div (maroon border) is over runnig the black div behind it. I've heard that clipping is good for containing divs but I don't understand them. Using clip : auto; doesn't make any difference nor does clip : rect(0,0,550,0) to stop the bottom edge from running off. I'm probably confusing you but think you could help? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 01-17-2002 04:21
Clipping makes every part of a layer except for the rectangle you specify become invisible. |
Bipolar (III) Inmate From: midair |
posted 01-17-2002 06:53
There was something I read about using container blocks and clear: both.. to stop button blocks |
Bipolar (III) Inmate From: midair |
posted 01-17-2002 06:56
ps.. the container blocks collapse around the inner blocks because..empty cells collapse..so |
Maniac (V) Mad Scientist From: Solitary confinement |
posted 01-17-2002 16:45
lol, gaga was just nonsense text to show me where the container was. Won't be there when the site goes live. |
Bipolar (III) Inmate From: midair |
posted 01-17-2002 17:41
It is part of the CSS specs that a floating element is allowed to break out of its parent element.. |