Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

When I get a mail in Gmail and somebody has used plain text, it shows me in the Courier New font which is default on Windows. I changed the monospace font in Chrome's settings to Consolas but Gmail doesn't honor that. Any ideas on how to change from Courier New to Consolas for plain text emails?

share|improve this question

2 Answers 2

Ensure that you actually did change the default Monospace font. Google Chrome refreshes my font changes immediately, in monospace and in regular font, so changes should show up in browser.

Your user profile may also be corrupted - see my answer for a guide on how to create a new profile.

share|improve this answer
    
Yes, I have checked. On other sites where monospace is used, Chrome shows Consolas only. Only in Gmail, this is happening –  pratnala Mar 30 at 3:58
    
@pratnala Huh. That is very strange. I'm honestly stumped now - maybe try clearing your cookies and your cache? –  thegoose Mar 30 at 16:57
    
I'll try and let you know. –  pratnala Mar 31 at 16:58
  1. Install the Stylish browser extension.

  2. Click the Stylish icon and go to "Manage Styles"

  3. Add this style. It will configure Gmail to use a fixed-width font for plaintext messages:

    @namespace url(http://www.w3.org/1999/xhtml);

    @-moz-document domain("mail.google.com") {

    /* change the font family and font size of body message */

    div[class="a3s"] { font-family: DejaVu Sans Mono, Liberation Mono, Luxi Mono, courier, arial, sans-serif !important; }

    }

This is adapted from my first answer posted here: http://dannyman.toldme.com/2007/03/08/gmail-fixed-width/ ... which I will now update.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.