Give me the [pre] tag!

Raziaar

I Hate Custom Titles
Joined
Sep 13, 2003
Messages
29,769
Reaction score
140
Why don't we have the [pre]pre[/pre] tag on hl2.net? Man... I'd kiss you munro if you added it!

And no... don't say use the code tag.
 
It's a preformatted tag, which works exactly like the CODE tag, but one which doesn't have the ugly ugly code box.
 
What does the code tag do?

Code:
The code tag
    allows you to really
get creative
                    in the way that you use

white space in order to        break up a

series of characters. As it is called

code, the most
          prevalent example of this is
                                    to use this for code

So that all the white space is preserved, and not

         condensed into one space. Thus, it keeps the structure
of the



              code.

                        see?


It's great when used for ascii art, but the [pre] tag is even better because you don't have 
all the text enclosed within this square like the code is. It can be more seamlessly integrated 
in with the rest of the text with no visible barriers.


If I were to type this following snippet of code without the code block...

Code:
using System;

namespace myNamespace
{
    class myClass
    {
        static void Main()
        {
          string myName = "Raziaar";
          
          Console.WriteLine("My name is {0}", myName);
        }
    }
}

It would look something like this... and be completely unreadable without serious effort.

using System;

namespace myNamespace
{
class myClass
{
static void Main()
{
string myName = "Raziaar";

Console.WriteLine("My name is {0}", myName);
}
}
}





Is all that descriptive enough for you? ;)
 
For printers and publishers, it's known as proportional text.
 
I'm going to be updating the forum software in the next few weeks and I'm holding off any changes until then. That way I don't have to make the changes all over again :p This will be included though.
 
Cool, I like making forum art.

Also could we get strikethrough tags... please?
 
I'm going to be updating the forum software in the next few weeks and I'm holding off any changes until then. That way I don't have to make the changes all over again :p This will be included though.

You're awesome munro! You'll be getting a big kiss when that happens!

Or not, if it will deter you from wanting to include it.
 
Cool, I like making forum art.

Also could we get strikethrough tags... please?
We have strike tags, but they only work in the New section (It's the only forum with HTML code enabled).
 
What new section? Did you mean "news section", because I just tried and [strike] there and they didn't do anything.
 
Although I believe riomhaire means you can accomplish it via HTML.
Oh god. Remember when we discovered that you could implement Javascript into this forum? That was pretty damn ridiculous and appalling.
 
Oh god. Remember when we discovered that you could implement Javascript into this forum? That was pretty damn ridiculous and appalling.
With all of those annoying sound clips? Oh you guys incited some moderator rage!
 
That was chaos.

Ikerous got into a whole mess of trouble, ahahaha.
 
Back
Top