because according to the standards it is suppost to. To get the effect you want add a style="display:block;" to the image.
basic Alistair Potts wrote: > Can anyone tell me whether it's intentional to render a full line height > when an image on that line is smaller than the line height ? > > That wasn't very well explained - here's what I mean: > > <table cellspacing="0" cellpadding="0"><tr><td height="1"><img > src="spacer.gif" height="1" width="1"/></td></tr></table> > > The table cell will be a full line high. Leave out the img and the table > renders just one pixel high. Spaces between/amongst tags seem irrelevent. > > Another example: > > ... > </table> > <img src="spacer.gif" height="1" width="1"/> > <table> > ... > > There's a full line between them. IE seems to get it right (or maybe wrong! > but quite different, and more to expectations). (All this on Moz9.4/Win2k) > > Now before anyone starts banging on about the inadequacies of anyone who > positions elements user spacer gifs, these are just examples to illustrate > the point. Anyway, is anyone else finding this frustrating? > > Thanks to anyone who replies, > Alistair > > >
