Announcement

Collapse
No announcement yet.

Preserve spacings in vb code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Preserve spacings in vb code

    Hi,

    I have a custom vbcode which looks like this:

    Code:
    <span style="font-family: Courier New; monospace; font-size:12px; color:#545454">{param}</span>
    to show program code in postings. Works good so far, but the text is always aligned to left, spacings will be ignored. How can I change the code to preserve spacings?

    Thanks!

  • #2
    I am not sure why that code is doing that. If no one else here knows then I recommend you post in the PHP / MySQL / JS / HTML forum on www.vbulletin.org.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X