开发者

Position:fixed with overflow:hidden parent does not work

开发者 https://www.devze.com 2023-03-06 14:13 出处:网络
I try to apply overflow:hidden on a child-box that has position:fixed. This appears to not work due to the fixed position. Is there a fix?

I try to apply overflow:hidden on a child-box that has position:fixed. This appears to not work due to the fixed position. Is there a fix?

http://jsfiddle.net/HFZ7V/

I read about a similar problem with positi开发者_如何学Con:absolute elements, but the fixes do not work for fixed elements.


I've updated your jsfiddle, with a guess of what you're trying to achieve. Let us know if it looks like what you're after.

http://jsfiddle.net/HFZ7V/1/

0

精彩评论

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