(I'm a list lurker. Also, apologies if this has been covered before.)

In CSS, setting a div to "overflow: hidden" solves a problem it shouldn't--at 
least from the name of the property and value, it seems like it shouldn't. 

Often I'll have text, e.g. an h1, overflowing its containing/parent div, but 
setting the containing/parent div to "overflow: hidden" causes the parent div 
to set its height in a way that the formerly overflowing text no longer 
overflows. 

I've seen this happen for years. Another developer showed me this fix years 
ago. But over the years, I've never read an explanation why "overflow: hidden" 
fixes a problem its name implies it wouldn't. 

Have others seen this? Any explanations? 

-jody




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to