开发者

redefining css overflow?

开发者 https://www.devze.com 2023-02-06 23:24 出处:网络
My main div .container is set to overflow:hidden; to maintain 100% height, it nests all content divs except for my header and footer. However inside is my sidebar which contains things that need to ov

My main div .container is set to overflow:hidden; to maintain 100% height, it nests all content divs except for my header and footer. However inside is my sidebar which contains things that need to overflow out and redefining a child div doesn't seem to work. I开发者_StackOverflow中文版s there a way around this?


I think you'll need to either define your parent DIV with overflow: auto; or set your child div to be absolutely positioned.

0

精彩评论

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

关注公众号