![]() |
Monospace Font BBcode
1 Attachment(s)
This is another simple bb code that I couldn't find anywhere so I figured why not make it for anyone interested. This will let you use a monospace font outside the [code] and [php] tags... it will look like normal forum text except be mono-spaced.
There are two options, the first one requires you specify a color, the second doesn't take a color but you can still use the standard FONT-COLOR tags to set one. Demo: here. *First option only* Option 1. Add a new BBCode Title: Monospace BB Code Tag Name: mono Replacement: Code:
<span style="font-family: monospace; color:{option}; white-space:nowrap;">{param}</span> Description: This code makes text monospaced with an optional color. Use Option: Yes Button Image: (optional) https://vborg.vbsupport.ru/external/2010/07/61.jpg Remove Tag If Empty: Yes All Disable Options: No You can use standard color names in the option such as red, blue, green, yellow, etc... You can also use hex color codes preceded by the # sign for exact colors, such as #0000FF Click here for common hex color codes. If you don't want to specify a color you must still include ="" in the opening tag or the code won't be parsed. To use this code without a color instead install the following code: Option 2. Add a new BBCode Title: Monospace BB Code Tag Name: mono Replacement: Code:
<span style="font-family: monospace; white-space:nowrap;">{param}</span> Description: This code makes text monospaced. Use Option: No Button Image: (optional) https://vborg.vbsupport.ru/external/2010/07/61.jpg Remove Tag If Empty: Yes All Disable Options: No Please mark as installed if you use this. :) |
All times are GMT. The time now is 01:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|