On 16 Jul 2003, at 10:12am, [EMAIL PROTECTED] wrote: >> <grin> Maybe, but this one's a PEBKAC issue... ;-) > > Is this strictly true? My understanding is that the problem is that > browsers are "supposed to" ignore newlines, yet none seem to ...
HTML user agents (UAs, of which "browsers" are a subset) are not supposed to *ignore* newlines. Newlines should be treated like all other whitespace -- used as word separators, basically. Most UAs present hyperlinks colored and underlined (since that's what NCSA Mosiac did). As a side effect of those two facts, an image with surrounding whitespace shows up with an underline. The UA is rendering the underline between elements. It is too dumb to know that, with an image, the underline is pointless and/or looks ugly. Of course, one could make a valid argument that, since the UA's job is chiefly presentation, and this particular aspect of the presentation looks ugly, that it should be improved. -- Ben Scott <[EMAIL PROTECTED]> | The opinions expressed in this message are those of the author and do | | not represent the views or policy of any other person or organization. | | All information is provided without warranty of any kind. | _______________________________________________ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
