In article <[EMAIL PROTECTED]>, Michael Raidel wrote: > Hello, > > maybe one of you knows the reason for this behaviour of Mozilla (0.9.6 > and 0.9.7 on Linux and Windows). I want to have two images 5px from the > left side and with no gap between them vertically. The following code > works in IE, Opera, Konqueror and in the "Quirks"-Mode (without > DTD-Definition) in Mozilla. As soon as I use the HTML 4-Strict or > -Transitional Definition at the top of the document, there's a gap > between the pictures. This also happens when I use div or span instead of p.
At a guess, this is because images are by default "inline" elements. You need to make them display: block in this case. -- Chris Hoess
