Why has the last line on my page has an open space above it?

A quirk of HTML is that whenever you make text smaller than the default (whether by assigning a negative value to the <FONT> element's SIZE attribute or by using a element such as <TT>, which makes text monospaced and also shrinks it slightly), the browser tends to leave a gap above the last line of text.

You can fix this bug by adding a <BR> element immediately after the closing element.

Back to the FAQ main page

  Copyright © 1996 - 1999 Rob Schlüter,   schluter@knoware.nl   (last updated 1999/03/01)