Fixed Width Font

Racer1Racer1 Join Date: 2002-11-22 Member: 9615Members
<div class="IPBDescription">ns forum posts</div> Is there a way to use a fixed width font when posting a message to the NS forums? I tried using the "FONT" tag but only variable-width fonts were available. I tried using the "CODE" tag, and it did indent it, but it didn't use a fixed-width font...what's the point of a CODE tag if it doesn't use fixed-width fonts?

Suggestions?

Comments

  • AnavrinAnavrin Join Date: 2002-10-30 Member: 1734Members
    edited March 2003
    <span style='font-family:Courier'>Testing
    1234567</span>

    Dude, it works for me.

    Courier is your number.
  • FireStormFireStorm Join Date: 2002-11-06 Member: 7390Members
    yes, just use Courier:

    <span style='font-family:Courier'>
    iiiiiiiiii
    MMMMMMMMMM
    </span>
  • Racer1Racer1 Join Date: 2002-11-22 Member: 9615Members
    edited March 2003
    This is a test in normal font
    abc def 123 4.567
    A D 1 4.567
    <span style='font-family:Courier'>
    This is a test in courier
    ABC DEF 123 4.567
    A D 1 4.567
    abc def 123 4.567
    </span>
    <span style='font-family:Courier New'>
    This is a test in courier new
    ABC DEF 123 4.567
    A D 1 4.567
    abc def 123 4.567
    </span>
    <span style='font-family:Geneva'>
    This is a test in geneva
    ABC DEF 123 4.567
    A D 1 4.567
    abc def 123 4.567
    </span>
    For fixed width fonts, 4.567 should line up exactly above/below each other.
    The forum is merging multiple spaces. This means tables and other stuff don't line up right unless there is only 1 space in between items.
    FYI, each section is 5 characters long. In the first line its abc followed by 2 spaces then the D. In the second line, its A followed by 4 spaces, then the D.
  • FireStormFireStorm Join Date: 2002-11-06 Member: 7390Members
    edited March 2003
    It's not the forum it's the web browser. You can use other chars as spaces. (ALT+0160)

    <span style='font-family:Courier'>ABC  DEF  123  4.567
    A    D    1    4.567
    abc  def  123  4.567
    </span>
Sign In or Register to comment.