On 7/23/07, Ingo Chao <[EMAIL PROTECTED]> wrote: > Philippe Wittenbergh wrote: [...] > > The height might be '0', but the :after element still contains text > > that has a certain size (and that would a minimum of 12px on my > > side), and thus generates a line box, and takes up space. > > As the parent container is ultimately <html> (overflow:auto by > > default), it expands to contain that little extra. > > > > adding 'overflow:hidden' to the ::after ruleblock would fix that part. > > Does not seem to work here. > > font-size: 0; together with overflow:hidden showed better results, but I > did not test it further.
Confirmed. overflow:hidden closes that extra space in Opera and Safari, but _not_ in Gecko. The latter does not seems to apply overflow:hidden to :after pseudo-elements. Bruno -- Bruno Fassino http://www.brunildo.org/test ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/