CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
overflow-x not behaving as expected
shavenraver
Permalink to comment
#
March 2011
Overflow-x:hidden;
Overflow-y:visible;
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.
A simple
overflow:visible
allows child div to overlap
Same in Chrome and Firefox
Add a Comment
The child div has more height, but Instead of allowing an overlap, it adds a vertical scrollbar.
A simple allows child div to overlap
Same in Chrome and Firefox