Forum Home
Press F1
 
Thread ID: 33748 2003-05-24 08:37:00 Why we get........w.....i.....d.....e.......posts Billy T (70) Press F1
Post ID Timestamp Content User
147139 2003-05-24 08:37:00 Hi Team

Wide posts are caused by a unique characteristic (or flaw) in the Forum software which means that text enclosed by the [- pre] tags do not word-wrap. You have to manually enter carriage returns every 10 or so words to keep the post width normal.

Have a play by typing a few sentences into a post window preceded by [-pre] (but without the hyphen) then previewing and you will see what I mean.

BTW, if you are at the end of your post, you don't need the closing tags so [-pre][-b] will produce the same result as a string closed by [-/b][-/pre] Everything after the tags will be formatted. :)

Cheers

Billy 8-{)
Billy T (70)
147140 2003-05-24 08:41:00 Did you know that the aforementioned forum software puts your name just to the left of every single post you make to save you typing it every time?

Just FYI
whiskeytangofoxtrot (438)
147141 2003-05-24 09:05:00 > Wide posts are caused by a unique characteristic (or
> flaw) in the Forum software which means that text
> enclosed by the [- pre] tags do not word-wrap. You
> have to manually enter carriage returns every 10 or
> so words to keep the post width normal.

I don't think it is a bug it is actually a function. The idea is that it doesn't wrap lines. So that programming code will come out how it is intended instead of the lines being all jumbled up.

> BTW, if you are at the end of your post, you don't
> need the closing tags so [-pre][-b] will produce the
> same result as a string closed by [-/b][-/pre]
> Everything after the tags will be formatted. :)

Billy you should ALWAYS close the tags. Otherwise peoples "reply with quote" will come out not how they're expecting it. I've noticed this in a few posts.

FYI: it is possible to use <code > instead of <pre >
-=JM=- (16)
147142 2003-05-24 10:14:00 Yes I know WTF, but the habit of signing off every communication is one I am unlikely to break.

Didn't know about the other problem caused by unclosed tags though. Can't say I've seen it, but then I might not have recognised it if I did.

BTW, is WTF really WTF? or does it have another meaning.:D

Cheers

Billy 8-{)
Billy T (70)
147143 2003-05-24 10:18:00 > Billy you should ALWAYS close the tags. Otherwise
> peoples "reply with quote" will come out not how
> they're expecting it. I've noticed this in a few
> posts.
>
> FYI: it is possible to use <code > instead of
&gt; <pre >

Yeah Billy! How come you didn't know that? I thought you knew everything?
;-)
cappuccino (1800)
147144 2003-05-24 10:46:00 No cappy, you must have me confused with somebody else. I know a little about a lot, and a lot about a little, but in between there is a great divide.:8}

Story of my life :(

Cheers

Billy 8-{) :|
Billy T (70)
147145 2003-05-24 10:55:00 Oh and it seems there is a difference between code and pre tags. One has highlighting the other doesn't.



<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
<title>This is a title</title>
</head>

<body>
<h1>This is the body</h1>



PressF1 Help Forum (http://www.pressf1.co.nz)

</body>
</html>


mmmm highlighting. Probably works better with php code or something at a guess though.
-=JM=- (16)
147146 2003-05-24 11:11:00 Or more something like this.

Seems they use it quite a lot over at the jive forums.



lass test {
void method() {
System.out.print("test");
}
}

or (int i=10; i>15; i--) {
String str = "Testing, 1, 2, 3";
blah = 42;
}

// multi-dim
a = 15;

// Does it keep the previous line and the next
// line which are both blank?

// comparisons
if (a<b && a>b && a < b && a > b)
{
a <<=1;
a >>=1;
a<<=1;
a<<=a;
}

println("good <font color="red">morning</font>");

or (int i = 0; "hello".length + i < 10; array+=i++);

char c = '\'';
String s = "\"";

String unclosedString = "line 1
line 2";

/* funny quote in terms of /* opening and */ closing */

// another /* funny */ quote
-=JM=- (16)
147147 2003-05-24 11:27:00 [pre][b]You lost me at jive forum:D Billy T (70)
147148 2003-05-24 11:43:00 > [pre][b]You lost me at jive forum:D

Yeah I have no idea what much of that means either.
Just went to the forums to copy and paste something to show the syntax highlighting.

Oh and if all goes to plan this will come out in
pre and bold tags with out my doing so.
-=JM=- (16)
1 2