- This topic is empty.
March 2, 2011 at 10:44 am #31850shavenraverMember
on a parent div doesn’t work as I’d expect.
The child div has more height, but Instead of allowing an overlap, it adds a vertical scrollbar.
allows child div to overlap
Same in Chrome and FirefoxJune 4, 2013 at 10:37 am #137617
have the same issue 2 years later and i don’t know how to solve it.
Here’s a pen for a better understanding: http://cdpn.io/LbgmG
thanks guys ;)June 4, 2013 at 10:46 am #137618
Here’s my question.
What are you trying to do? If you want the child content visible, why are you limiting the height of the parent?June 4, 2013 at 10:58 am #137619
should be a slider with an absolut positioned element “outside” the slider.
Here a screenshot: http://www.jurekbarth.de/slider_example.jpg
I’m using the woothemes flexslider for it, if this helps ;)June 4, 2013 at 11:06 am #137621
I doubt this has anything to do with overflow at all then.June 4, 2013 at 11:26 am #137623
when it is set to overflow hidden the yellow box is cutting off. when i set it to overflow visible its okay, but then i get a horizontal scrollbar.
And now there are overflow-x and overflow-y. When i try to set overflow-x to hidden and overflow-y to visible its not working, because i’ll get a vertical scrollbar. Do you understand?
I can fix it with adding an overflow: hidden to the “page-wrap”, but i think thats not the best way solving such problems….June 4, 2013 at 11:48 am #137624
Frankly I think a live link would be the best option so we can see it working (or not).
- The forum ‘CSS’ is closed to new topics and replies.