- From: Jeff Hennick <jhennick@delphi.com>
- Date: Fri, 28 Jul 2000 10:06:30 -0400
- To: html-tidy@w3.org
Peter Evans writes: > > <img > > src="foo.gif">this-string-should-stay-adjacent-to-gif--nospace-allowed > >[which is "tidied" as:] > > > <img src="foo.gif"> > > this-string-should-stay-adjacent-to-gif--nospace-allowed > > > This introduces a space between the graphic and the text, and that > > space ruins the logical formula which we are attempting to display. > >That sounds to me like a browser bug; but let's not quibble and instead >accept that you don't want the line break. The browser does right, interpreting the end-of-line as white-space and displaying it as a space. I have a similar "problem" with Tidy when changing font size/weight between words. Where Tidy puts the <span ...> tag (or whatever) relative to its adjacent space does matter, as the size of that space changes with which font it is associated with. Tidy, quite understandably, does not "remember" which side of the space the tag was on. Jeff Hennick JHennick@Delphi.Com
Received on Friday, 28 July 2000 10:06:57 UTC