Bruno Fassino wrote:
> I guess that the reason why Georg doesn't see the problem is that he
> applied the fix to the h1 too. When also the h1 is "inline", the bug
> doesn't trigger.
You got that right :-)
...one "dead" bug - one to go...
> About the space below each h2, I haven't checked, but can't this be
> explained by the sum of h2's padding-bottom, h2's margin-bottom, p's
> padding top, ...? (without the fix there are only collapsing margins)
>
Just checked (roughly) and those headline-margins do indeed mess it up a
bit even as inline-elements.
Setting border on all elements show that headlines are in need of zero
paddings/margins, while paragraphs will do fine with something close to
'padding: 1.2em 0;' that I'd given them. So, a bit back and forth will
make things line up a bit better.
"improved" workaround...
* html #content p, * html #content h1, * html #content h2 {
display: inline;
zoom: 1;
padding: 1.2em 0;
margin: 0;
}
* html #content h1, * html #content h2 {padding: 0;}
Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/