I have an element which has an overflow-x:hidden and overflow-y: visible and inside it an element with absolute position which I wish to overflow above it. I thought that if i give the parent element an overflow-y: hidden then it will work, but the browser simply adds a scroller rather then letting the sub element overflow the parent element.
Here's a fiddle that demonstrates my situation:
<!DOCTYPE html>
<html>
<head>
<style>
div
{
width:110px;
height:110px;
border:thin solid black;
overflow-x:hidden;
overflow-y: visible;
position: relative;
}
</style>
</head>
<body>
<div><p style="position: absolute;">
In my younger and more vulnerable years my father gave me some advice that I've been turning over in my mind ever since.
'Whenever you feel like criticizing anyone,' he told me, 'just remember that all the people in this world haven't had the advantages that you've had.'
</p></div>
<p>Overflow-x specifies whether or not to clip the left/right edges of the content.</p>
<p>Overflow-y specifies whether or not to clip the top/bottom edges of the content.</p>
</body>
</html>