Re: IE (PC) last line in a paragraph glitch

by Eric Benvenue-Jennings <eric(at)rapid13.org>

 Date:  Thu, 7 Sep 2000 08:13:16 -0400
 To:  Tammy Scroggs <tscroggs(at)blackandblueink.com>,
Rage <ragecom(at)md2.vsnl.net.in>
 Cc:  hwg-techniques(at)hwg.org
 References:  gte
  todo: View Thread, Original
The solution I have adopted is this:

...last line of paragraph. <br></font></p>

This is working for me.

Thanks for the input.

At 2:39 PM -0700 9/3/00, Tammy Scroggs wrote:
> It's a little late in this thread since it's already died, but, I thought
> it important to note that there are problems with the solutions offered
> here.
> 	1. Paragraphs are intended to be a block level element requiring a
> closing tag
> 	2. In order for page to validate, the font tags have to be opened and
> closed inside the paragraph tags.
>
> In *most* cases I've been able to solve the problem by putting a space
> between the text and ending font tag.
>
>
> Tammy
>
>
> On 23 Aug 00, at 5:45, Rage wrote:
>
>> Hi Eric,
>>
>> This happens only when you are using a font size less than the default, and
>> close the font tag BEFORE closing the paragraph. The solution is very
>> simple. Either close the font tag AFTER the next <P> tag, or make sure
>> there are no spaces or carriage returns between the closing font tag and
>> the closing <p> tag.
>>
>> For instance...
>>
>> Problem
>> -------
>> <P><FONT SIZE="-1">This is text with several lines.</FONT>
>>
>> <P>This is the next para.
>>
>> Solution 1
>> ----------
>> <P><FONT SIZE="-1">This is text with several lines.
>>
>> <P></FONT>This is the next para.
>>
>> Solution 2
>> ----------
>> <P><FONT SIZE="-1">This is text with several lines.</FONT></P>
>>
>> <P>This is the next para.
>>
>> Solution 3
>> ----------
>> <P><FONT SIZE="-1">This is text with several lines.</FONT><P>This is the
>> next para.
>>
>> All 3 solutions will work in all browsers that I know of. HTH
>>
>> JRK Rao
>> http://www.rage-india.com
>>
>>
>> Eric Benvenue-Jennings wrote:
>> >
>> > I assume this is a very basic question but I've never seen it
>> > addressed anywhere...
>> >
>> > On a PC using IE4+ the last line in a paragraph has always got extra
>> > space between it and the preceding line. I've seen this on so many sites
>> > and for so long that I just accept it without question but for the second
>> > time I've had a client insist that it's not acceptable. I really hate
>> > telling someone that I don't know why something occurs but they'll just
>> > have to trust me and live with it. Can anyone speak to what causes this
>> > phenomenon?
>> >
>> > (I know that I can sometimes avoid the problem by using two <br> tags but
>> > there are many cases where that is not possible or practical.)
>> >
>> > TIA

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA