Ingo Chao wrote:
> francky wrote:
>
>> Hi,
>> I was playing somewhat with margin and padding. Came out that,
>> without special IE-hack, {padding-bottom: 1px;} combined with
>> {margin-bottom: -1px} in the "#mainNav li" does work in IE6 under
>> Win98SE. See testpage
>> <http://home.tiscali.nl/developerscorner/css-discuss/ie-whitespace-test.htm>.
>>
>> Now I'm getting a bit curious:
>> (1) You know if it's working in other IE-versions / OS's?
>
> Your fix does solve the problem on this page nicely here in XP, so I'd
> go for it.
>
>> (2) Is this the same reason ('hasLayout') as you described? Or just
>> by accident?
>
> The li in your fix still hasLayout = false. You can test those things
> with the IEDomExplorerToolbar.
> http://blogs.msdn.com/ie/archive/2005/11/01/487833.aspx
>
> A few words about theory of haslayout can be found in the [1] in my post.
> As I do not understand what is the trigger of the suckerfish space (I
> have expressed this in my post), I cannot say how your fix works,
> either. The padding would stop margin collapsing, similar to the
> haslayout thing, but where is the margin, and why should the
> uncollapsed status be smaller. Hmm.
> regards,
> Ingo
Thanks, Ingo.
IE still more enigma-machine then the Enigma. :-)
francky
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/