Re: CSS gap between inline elements



On 2008-02-09, VK <schools_ring@xxxxxxxxx> wrote:
On Feb 7, 11:03 am, DrPanic
<MiNick@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hello.

I have a problem building an horizontal navlist.

The technique i'm using is very simple: a list with inline LI
elements. It works fine but Mozilla render it with a gap between the
LI elements, I can't understand where that gap comes from. IE7 doen't
render it whith that space between inline LI elements.

This is a capture of the problem:

http://img167.imageshack.us/img167/7283/pruebank5.gif
[...]
<p>This way on Gecko a pretty-print line break (even without space)
leads to a <strong>displayed</strong> element with its own width,
height and other properties. If you consider it as an obvious
insanity then please help to resolve the infamous
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=26179";

The bug has been resolved as "verified invalid".

But back to the OP's question, and leaving aside DOM methods, if you
write:

<span>foo</span> <span>bar</span>

a space should appear between "foo" and "bar". How can you possibly
consider that a bug?
.



Relevant Pages


Loading