views:

42

answers:

1

Hi! I'm having a problem with overflow and width in Google Chrome/Webkit. This is a follow-up question on this question, there you will find the CSS. I need to have visibility: hidden to fix the problem in the first question.

The problem is visible in the screenshots below.

Why does this attribute affect the width in Webkit? Can I solve this without nasty hacks? Or can I re-think my strategy for the right pane?

Main div with overflow: visible. The div is stretched to the right pane, as it should be.

no overflow

Main div with overflow: hidden. The right pane is now affecting the main div's width.

overflow

+1  A: 

I think it's due to "formatting context" : http://www.communitymx.com/content/article.cfm?cid=6BC9D

MatTheCat
Thanks for the article, very interesting!
Znarkus