Phil Trinh wrote:
> http://philsproof.com
> 
> Some kind of IE problem (which affects both versions 5 and 6) is 
> causing some of my blog posts to display one word at a time. I've 
> managed to track the problem to a horizontal line I use to divide my 
> posts up.

The bug is presenting itself on the live page, but cannot be reproduced
locally. Time is involved, which is why I can't reproduce/test locally,
and I never work on-line.
So, I have no clear bug in sight, and no definitive "fix".

Have solved similar cases by avoiding the combination of the
'margin-doubling bug' and the fix for it, and IE's 'whitespace bug' that
affects empty containers.

So, I suggest you try the following...

.horline {
        width: 200px;
        border-top: 2px solid #000;
        margin: 12px 0 10px 120px;
        padding: 1px;
        font-size: 1px;
        line-height: 0;
}

...which doesn't float and doesn't push the right margin, but still will
end up looking the same. The idea is simply to avoid pushing IE's buggy
rendering-engine, by serving it a less complicated construction.
Test it, and we'll see if that is enough.

I also tend to "kill" IE's 'whitespace bug' by letting that bugger know
that an element really _is_ empty - without loosing it to HTMLTidy.
A "tight" comment in the element usually works well, like this...

<div class ="horline"><!-- --></div>

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

Reply via email to