Absolute position and Overflow:hidden?

It's completely impossible to do what you want with both overflow: hidden and position: relative on the parent div instead you can introduce an extra child div and move overflow: hidden to that.

It's completely impossible to do what you want with both overflow: hidden and position: relative on the parent div.. instead you can introduce an extra child div and move overflow: hidden to that. See: jsfiddle.net/thirtydot/TFTnU/ HTML: sdfsd overflow "visible" CSS: #parent { position:relative; background:red; width:100px; height:100px } #child { position:absolute; background:#f0f; width:300px; bottom: 0; left: 0 } #hideOverflow { overflow: hidden }.

Use css... * {margin: 0; padding: 0;} #parent {width: auto; overflow: hidden;} #child {position: absolute; width: auto;} with width auto it will always append to the smallest possible size; and with the reset it will help maintain natural flow. But if the child is bigger in any way than the parent, then it will not be possible. But with this css I think you will achieve what you want to the maximum of what is possible.

I usually use overflow:hidden as clearfix. In this case, I give up and just add an additional div.

1 I need overflow:hidden to be on the parent. – Headshota Apr 1 at 12:38.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions