On Sun, 20 Jan 2002 05:50:15 +0000, Boris Zbarsky wrote:
> > two boxes don't vertically line up although I think that they ought
>> to.
>
> See bug 22274 (http://bugzilla.mozilla.org/show_bug.cgi?id=22274).
>
> The image you have over the <div class="boxout"> is an inline element. this
> means that you get a few pixels below the image, since it's aligned to the
> baseline and we leave space for descenders below the baseline in line boxes.
Aha! That makes perfect sense.
> The simple solution is to make the image "display:block". The way it's used
> in your layout, that's exactly what you want to do...
Yes indeed. Thanks very much. (It's one of those things that's obvious once
you've been told it but not at all obvious when you're trying to work it out
for yourself!)
Best, Darren
--
======================================================================
D. D. Brierton [EMAIL PROTECTED] www.dzr-web.com
Trying is the first step before failure (Homer Simpson)
======================================================================