strange double spacing

admin

Administrator
Staff member
I am having trouble with my preformatted text. I am wanting to use an ascii signature in my updates and so am using the <pre> tag to do this. The trouble is, there seem to be unwanted extra lines (<!-- m --><a class="postlink" href="http://www2.kettering.edu/~good3001/problem.html">http://www2.kettering.edu/~good3001/problem.html</a><!-- m -->) between the lines of text in the preformatted section. If you go to a previous post (<!-- m --><a class="postlink" href="http://www2.kettering.edu/~good3001/august_2002.html#thirteenth">http://www2.kettering.edu/~good3001/aug ... thirteenth</a><!-- m -->) and look at the last signature, you can see what it should look like. I can not, for the life of me, figure out what is causing those extra lines. Here is a link to the CSS (<!-- m --><a class="postlink" href="http://www2.kettering.edu/~good3001/style/core_style.css">http://www2.kettering.edu/~good3001/sty ... _style.css</a><!-- m -->).<!--content-->you have to ue the code tags the forum uses.<br />
<br />
so place everything in a [ code] tag. and have a closeing tags as well<br />
<br />
<br />
_ __<br />
| \ /\ /\ /\ \/ \_ | /|<br />
|_/ \/ \/ \7 /\ /_ |_ /-|<!--content-->I'm sorry, I wasn't very clear. I am having the problem on my actual website. If you follow the links, you will see what I mean.<br />
<br />
Thank you for showing me how to get my signature how to work here, though.<!--content-->:D oh I am sorry, I thought you were talking about here in the sig.<br />
<br />
did you try using the <blockquote> tag?<!--content-->The blockquote tag is strictly for block quotes. The signature is neither a block nor a quote. The problem I'm having is code that works perfectly on one page shows up double-spaced on another page. I can find no difference between the codes.<!--content-->you are kidding right? that code in your sig is using blockquotes. the [ code] tag uses blockquotes, so why not your page.<br />
<br />
also the one on you page is different than the one at the other page.<br />
<br />
<br />
___,<br />
<br />
(-- \ _ _ _<br />
<br />
_|_/(_)(_)(_|<br />
<br />
( .__|<br />
<br />
<br />
that is different than this<br />
<br />
____,<br />
(--| \ _ _ _,<br />
_|_/(_)(_)(_|<br />
( .__|<br />
<br />
and not just because it is working, but you forgot a | in there.<br />
<br />
also the one at the other post is using a different font than you. they are using <br />
<br />
.sig { font-family: 'Lucida Console' }<br />
<br />
so those are the differences<!--content-->Look, forget about my sig here on this message board. That is working and my question was never about that. I posted that question in a different forum. Focus on my web site.<br />
<br />
I have one page with the ascii showing up like I want it to (<!-- m --><a class="postlink" href="http://www2.kettering.edu/~good3001/working.html">http://www2.kettering.edu/~good3001/working.html</a><!-- m -->).<br />
<br />
I have another page with the ascii showing up double-spaced (<!-- m --><a class="postlink" href="http://www2.kettering.edu/~good3001/problem.html">http://www2.kettering.edu/~good3001/problem.html</a><!-- m -->).<br />
<br />
The two pages are now identical except for the title of the post and the text before the ascii sig.<!--content-->no need to get shirty!<br />
i Download <!--more-->ed your page and right-clicked to your source code and they both showed you have gaps in it in there, like so:<br />
<br />
<pre class="sig"><br />
<br />
____,<br />
<br />
(--| \ _ _ _<br />
<br />
_|_/(_)(_)(_|<br />
<br />
( .__|<br />
<br />
</pre><br />
<br />
in your other page there are no gaps in the source code, like so:<br />
<pre class="sig"><br />
<br />
____,<br />
(--| \ _ _ _<br />
_|_/(_)(_)(_|<br />
( .__|<br />
<br />
</pre><br />
<br />
delete the gaps!!<br />
as scoutt pointed out<!--content-->Ah hah! That is really odd. I use TextPad to create my pages. When I view the source using TextPad, I don't see any extra gaps, but when I use notepad, I do the gaps. So now I just have to figure out why TextPad is inserting those extra carriage returns.<br />
<br />
Sorry to sound snappy, but it was just getting really frustrating.<!--content-->I don't know which OS TextPad is for, but if you have windows, I'd recommend you to use Notepad. It doesn't mess up your code.<!--content-->It seems that the ftp program I was using somehow switched to binary mode. When I switched it back to ASCII mode and re-transferred the file, it turned out fine. I don't really understand that, but it works now.<br />
<br />
By the way, I use TextPad (for Windows) mostly because it does color. There are several other features that I really like about it, but that is the main one. It also automatically reconizes C/C++ files, Java files, and a few others. You can also add document classes if you need to. It isn't free, but it was only $15 I believe and I've never had a problem with it. A great program all around.<!--content-->my last post had nothing to do with your sig. I was serious on using <blockqoute>. if you couldn't get pre to work than that would be your last choice.<br />
<br />
but as I said an dleo pointed out, you had spaces in there and you forgot a character.<!--content-->The <blockquote> tag does not keep white space. It is simply for denoting long quotations (block-level content). The only thing most user agents do when rendering blockquotes is to indent the text, so I can't see how replacing <pre> with <blockquote> would accomplish anything. It is possible to enclose prefortted text in a blockquote, which is most likely what the [ code] tag does in this forum.<br />
<br />
But anyway, it turned out that the problem was simply one of my not being able to see the changes that were made to the files when uploaded to the server.<!--content-->
 
Back
Top