Forum Moderators: open

Message Too Old, No Replies

Problem with Headline

         

ealvin

10:03 pm on Jul 31, 2005 (gmt 0)

10+ Year Member



I use FrontPage2000 and have only limited HTML & CSS knowledge. All of a sudden the 4th line of my long H1 headline has more "white space" (I believe printers call this leading) between it and the other lines. I've looked at the code and I can't tell why this is happening.

BTW, I get the sense that we're not supposed to post actual links to our sites here (am I right about that?), so instead of the link here's the HTML code...

<h1 align="center"><b><span style="mso-tab-count: 1"><font color="#000080" face="Tahoma" size="5">&quot;Top Internet Marketing Consultant
Reveals<br>
&nbsp;How You Can </font><font face="Tahoma" size="5" color="#006600">Sell
More Products </font><font color="#000080" face="Tahoma" size="5"> and
</font><font face="Tahoma" size="5" color="#006600"> Services<br>
</font><font color="#000080" face="Tahoma" size="5">Online</font><font face="Tahoma" size="5" color="#006600">
</font><font color="#000080" face="Tahoma" size="5">– </font> <font face="Tahoma" size="5" color="#006600">Faster,
Easier </font><font color="#000080" face="Tahoma" size="5">and</font><font face="Tahoma" size="5" color="#006600">
More Profitably<br>
</font><font color="#000080" face="Tahoma" size="5">Than You Ever Could Have Imagined?&quot;</font></span></b>

The space is before the line "Than you ever could have imagined" is the area I'm concerned with.

And yes, I know that FP is horrible and adds bloated code. :) At some point I'll get another HTML editor. If you think the problem is with the CSS, rather than add to this post, I'll refer you to another post on the forum where you can examine it. It's here...

[webmasterworld.com...]

Thanks in advance for your help.

tedster

10:40 pm on Jul 31, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The code you posted has no closing tag for the H1 element -- no </h1>. Just add that closing tag immediately after the </b> and see if that helps.

Warning: do NOT place a line break before you close the tag - that extra line break can also make problems in IE.

ealvin

4:37 am on Aug 1, 2005 (gmt 0)

10+ Year Member



Thanks for your help. When I went to add the closing tag I discovered it was there...on another line. I must have omitted pasting it previously. Any other ideas?

tedster

4:45 am on Aug 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



When I went to add the closing tag I discovered it was there...on another line.

That's what my warning is about. If the closing tag is on another line, the Explorer browser will show buggy behavior. So the </h1> must be on the same line as the </b> -- with no line breaks in between.

<font color="#000080" face="Tahoma" size="5">Than You Ever Could Have Imagined?&quot;</font></span></b></h1>

ealvin

6:21 am on Aug 1, 2005 (gmt 0)

10+ Year Member



Yea! That fixed it. Thanks.