Reputation: 14260
I have something as follow.
I want to see my image inside my div
be able to show the whole image. (currently it's cut off because of the parent container's height.) I can't change parent container's height and I want to see the image that float on top of the parent container. (so I use absolute position). However, it doesn't work. can anyone help me about it? Thanks.
desire result
----------------------------
| -----------
| | |
| | img1 |
--- -------------------
| |
-----------
Upvotes: 1
Views: 59
Reputation: 651
#container {
overflow: visible;
}
#slide-list {
overflow: visible;
}
Or just delete altogether the rule, since the default for overflow
is, indeed, visible
.
Upvotes: 1