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
news:6f34b4ab.0112131143.703acbb3@posting.google.com...
>..
> 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:
    <p>
    This is some text<br />
    This is some text
    </p>

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

This'd be the better alternative:
    <p>
    This is some text
    </p>
    <p>
    This is some text
    </p>

--
Philipp Lenssen
M+R Infosysteme
http://www.mrinfo.de





 
Basic
Goodies
Design
Tech
Email