On 04/08/2009 04:19 PM, Máirín Duffy wrote:
I am so excited I just had to send an email!!!
I found a solution to the weird CSS issue we've been having with the
profile pages user summary rounded box / block. I ran into it again when
trying to do the css for the bug dashboard.
All is well if the parent div's overflow attribute is set to auto. For
whatever reason (and I think this may be a browser bug), the overflow of
the parent element is being rendered as if it was set to
"visible" (which is not the default value, "auto" should be.) When
overflow is set to visible, the way it is supposed to behave is to
calculate how tall/wide the content is, and allow it to spill out of its
parent block (as opposed to limiting it to the borders of the parent
block and adding horiz and/or vert scrollbars, or as opposed to clipping
it.) The "auto" property tells the browser 'just figure it out'. For
some reason, the browser:
(1) thinks that overflow is set to visible for wahtever weird reason
(2) thinks the area that needs to spill out of the parent block is way
bigger than it actually is.
Anyhow, setting overflow: auto seems to fix it for both the profile
pages and for the package > bugs page, so expect to see those fixes
soon.
Awesome Mo! Good work!
~spot