Gunlaug Sørtun wrote:
> 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...
>   

Georg! Why didn't you say that you were checking a local version of my 
page?! I said a couple times that I saw the bug in my live version, but 
you never mentioned that the reason you didn't see it was because you 
were checking an entirely different page -- instead you accused my IE of 
being messed up. My poor IE -- doesn't it get enough abuse already? ;-)  
Next time when I tell you I see a bug in a page, please bother to check 
that page first before telling me you don't see the bug. That way we 
don't have to go back and forth with screenshots and accusations of 
screwed up versions of IE and all that stress. :-)

>> 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
>   

Here's what I've used, and it seems to be working well:

* html #content p,
* html #content h2 {
    display: inline;
    zoom: 1;
    }
* html #content p {
    padding: 0 0 1em 0;
    }

No need to hack the h1's because there will never be a float to the 
right of an h1.

I think I'm all sorted now!

Thanks everyone,

Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu


______________________________________________________________________
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/

Reply via email to