[WEB4LIB] Netscape and the thin black line
Thomas Dowling
tdowling at ohiolink.edu
Tue May 21 08:19:05 EDT 2002
At 10:40 PM 5/20/2002, Vicki Falkland wrote:
>Hi folks,
>
>Once upon a time, it was possible to create a thin black line across part
>of a table with the following code:
>
><td>
><img src="blank.gif" height="1" width="1" alt="" >
></td>
>
>I've been looking at one of our older, defunct sites on newer versions of
>Netscape, just out of curiosity.
>
>Funny thing is, Navigator stand-alone 4.08 displays it just fine, but newer
>Netscapes (6+) don't collapse the table row to a thin line - it displays it
>at full height as if there were text in it.
If your markup is really entered that way, there *is* text in it. You've
got whitespace, in the form of a newline, following the img
element. Mozilla renders that space in the appropriate font, with the
appropriate height. Closing up the whitespace should help.
Needless to say, you get a much finer degree of control using CSS border
properties.
Thomas Dowling
OhioLINK - Ohio Library and Information Network
tdowling at ohiolink.edu
More information about the Web4lib
mailing list