Search

Firefox and web email services: Yahoo

November 21st, 2007 by Andrew Cunningham

In the first part I gave an example of using stylish to control font display for minority languages within Gmail. In this post II’ll quickly look at Yahoo’s new email web interface. These CSS rules do not apply to the classic mail UI.

This technique applies to text emails and may not work with HTML based emails.

The following domain specific CSS rules include the use of CSS 3 selectors supported by the Firefox 2.0 web browser and will control the fonts used to display sender details, subject line and body of the message:

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("mail.yahoo.com") {
    td[colname=Subject],
    td[colname=From],
    div.headerSender,
    div.headerSubjectLine,
    body:not([class~="appBody"]),
    .inputField {font-family: Charis SIL !important;}
}

Just change the font declaration to your preferred font. It is also possible to adjust font sizes and line-height by updating or adding additional rules.

Posted in Firefox, MPAS |

2 Responses

  1. Rassekatzen Says:

    Your blog is really very informative.

  2. Andrew Cunningham Says:

    Thanks Rassekatzen,

    I hope that in the new year, I’ll have the opportunity (i.e. spare time) to complete a number of articles that are currently under development.

    Including notes on Hotmail, our approach to web internationalization and multilingual typography. I’m also working on some articles looking at migrant and refugee information needs and information seeking behavior.

    A mixed bag, but hopefully you’ll find something of interest in the upcoming months.

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.