Code fonts are too big, dissimilar from default VS editor fonts. RRS feed

  • Question

  • I'm unhappy with the code font being used in the forums.

    It's much larger than the body text font.  And it's useful to have a monospace font, or at least something close to the font used in typical editors.

    Interesting that if you snip this code and paste it in Microsoft Word, you get Times new roman 12 (or Segoe UI 11) for post body, and Courier New 10 for code.  Which would be fine.  But the actual appearance in the browser is different.  I realize its a pre tag, but the stylesheet must be giving it an ugly font.  I'm also unhappy with how close it gets placed to other text.

    Here is an example
    string example = "This is an example of C# code";
    Console.WriteLine( example );
    Any chance something can be done about it?  Choose a better font family for code, please?
    Friday, October 30, 2009 2:24 PM


  • Thanks for reporting. I've talked to the team about this bug (which we already have). However, No ETA on a fix.

    Forums Test Lead
    • Marked as answer by Wyck Thursday, November 5, 2009 2:59 AM
    Wednesday, November 4, 2009 12:37 AM