Outer Court

Tech - Posts to comp.infosystems.www.*

From: "Philipp Lenssen" <phil@mrinfo.de>
Newsgroups: comp.infosystems.www.authoring.html
Subject: Re: netscape 4 and <br>
Date: Thu, 20 Dec 2001 11:48:04 +0100
Message-ID: <9vsfmc$t2n$4@swifty.westend.com>
"Philip Place" <pplace@informatic.ie> wrote in message
> I have a series of addresses that I have marked up using the address
> and br elements - the later to force a new line after the first and
> subsequent parts of the address i.e town, county, etc. Netscape 4
> seems to leave large spaces between lines whilst other browsers do
> not. Is there a way to suppress these spaces using CSS.

Last time I checked a line-break was one of the things Netscape (4) didn't
mess up.
Look into your CSS settings of line-height, padding-top/ -bottom, and
margin-top/ bottom, as well as display: block/ inline.
Also check your HTML.

This is OK:
    This is some text<br />
    This is some text

This is a bit of a mess:
    This is some text<br /><br />
    This is some text

This'd be the better alternative:
    This is some text
    This is some text

Philipp Lenssen
M+R Infosysteme