开发者

Contents of DIV go outside DIV when DIV changes Size

I have a DIV that changes its size when a link is clicked. When the link is clicked, the div animate()s to width: 0px, but the contents of that div is still visible on the outside of the div! How can I make the contents of the div not go outside the div, without explicitly setting its visibility to hidden? Maybe some kind of anti-overflow thing?

Th开发者_如何学Goank you


Add to the CSS for the DIV:

overflow: hidden;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜