Does Gmail have a setting somewhere to make message text appear in a fixed width font? 'Cause if it does, I sure can't find it...
To force it to use a fixed width font anyway, I added the following to userContent.css in my Firefox profile:
div.msg div.mb { font-family: monospace !important; font-size: 12px !important; }(Firefox's 'View Selection Source' came in real handy trying to figure out these classnames; regular View Source is a pain on Gmail because the whole thing's Javascript-generated.)
Though the chances that that CSS rule may interfere with another site are small, I suggest you to try one of these extensions :
* URIid ( http://extensionroom.mozdev.org/more-info/uriid ) which adds an id of the form www-milov-nl to the body tag of every page you visit.
* MyOwnCSS ( http://www.raphinou.com/cgi-bin/myowncss/main.cgi ) does the same as URIid, except that the CSS are stored on an external server and shared between the users. In a way, it the del.icio.us of the CSS customization.
Notice, that I haven't tried them yet, but I gonna install URIid and give it a try.
http://extensionroom.mozdev.org/more-info/chromedit
http://extensionroom.mozdev.org/more-info/editcss
damn, I love FireFox.
http://www.chrispederick.com/work/firefox/webdeveloper/
And indead 'EditCSS' is a must for everyone who is editing (and doing other stuff) with websites!
I even forced Outlook Express to use fixed width by setting its 'Proportional font' to 'Courier New'.
Does this fix (or tweak) also works for HTML email messages or did you set your presence (if that is possible within QMail) to ignore HTML messages?
http://lists.w3.org/Archives/Public/www-style/2004Aug/0135.html
@-moz-document url-prefix(mail.google.com/mail/), domain(mail.google.com)
{
div#rc {
display: none !important;
}
font, div#mb_0 {
font-family: monospace !important;
font-size: 12px !important;
}
}
@-moz-document url-prefix(mail.google.com/mail/), domain(mail.google.com) {
/* the cell that contains the message, utils, ads */
td#fi {
padding: 0px 0px 0px 0px !important;
}
font[size="-1"] /* print view */, div#msgs /* conversation view */ {
font-family: monospace !important;
font-size: 1.2em !important;
}
}
Thanks for the great code! How would one go about getting the composition textarea to also display in monospace?
Thanks again,
Hugh. ;)
Do I need to tell Firefox to check these files?
Is the code still working for you all?
Yes it still works for me. Try editing the files manually:
Go to Start > Run and type "%AppData%" without the quote marks.
Navigate to \Mozilla\Firefox\Profile\Chrome and edit/create userContent.css, filling it with the code in post #13 above.
Hope this helps,
Hugh. :-)
mailto:hughlilly##NOSPAM@GMail##NOSPAM.com
@-moz-document domain(mail.google.com)
{
body,td,input,textarea,select,button {
font-family:verdana,arial,sans-serif !important;
}
.ab,.cd button {
font-size: 100% !important;
}
.mb {
font-family: monospace !important;
font-size: 100% !important;
}
}
For easier cut&paste, get the code from
http://stephan.walter.name/Gmail_CSS_tweaks