Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ Forum ➜ Suggestions ➜ New forum code: tt

New forum code: tt

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by David Haley   USA  (3,881 posts)  Bio
Date Tue 13 Jun 2006 12:06 AM (UTC)

Amended on Tue 13 Jun 2006 12:07 AM (UTC) by David Haley

Message
Oftentimes I want to put something in fixed-width but without starting and stopping the paragraph. I think the HTML <tt> does this (tt for typewriter text, I believe). So it would be very nice if we could have a [tt] forum code to take care of that. How hard would that be to add? Thanks much! :-)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 13 Jun 2006 01:02 AM (UTC)
Message
The [mono] tag will do that. For example:

Here is a paragraph with some text in monospace in it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #2 on Tue 13 Jun 2006 01:17 AM (UTC)
Message
Oops! Sorry Nick, the existence of that tag somehow totally escaped me. Thanks. :)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Tue 13 Jun 2006 02:14 AM (UTC)
Message

 _   _                         _     _                
| \ | | ___    _ __  _ __ ___ | |__ | | ___ _ __ ___  
|  \| |/ _ \  | '_ \| '__/ _ \| '_ \| |/ _ \ '_ ` _ \ 
| |\  | (_) | | |_) | | | (_) | |_) | |  __/ | | | | |
|_| \_|\___/  | .__/|_|  \___/|_.__/|_|\___|_| |_| |_|
              |_|                                     


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,251 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.