Thanks for the tip.

John Purser 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Michael Dunn
Sent: Thursday, February 24, 2005 14:43
To: [email protected]
Subject: [Tutor] Reading Tutor with gmail: monospace fonts

Hi all,

This is slightly off topic, but I've noticed a lot of people are using
gmail accounts to post to tutor and I just wanted to share a useful
trick I just learned for making gmail display and edit mail with a
monospace rather than proportional font. I'm sure anyone who's tried
it agrees that significant whitespace means that python and
proportional fonts don't play well together...

Basically, you need to get your browser to override the stylesheet of
the page with the following snippet of css:

div.msg div.mb, .cm, .tb {
        font-family: monospace !important;
        font-size: 12px !important;
}

In Firefox, you add it to the userContent.css file in your preferences
(you'll probably have to create this, see
http://www.mozilla.org/support/firefox/edit). With Safari on MacOSX
you make a css file anywhere you like (I used
~/Library/Safari/MyPrefs.css), add this snippet, and then select the
file from the "Advanced" tab in Safari's Preferences. I don't know
about other browsers, but the same sort of thing is almost certainly
possible.

Cheers, Michael
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to