The iMac NewsPage
Feature

Dealing with IE5's font and resolution settings

Mar 28, 2000
(updated May 28 2000)

This page is intended to be viewed with Internet Explorer 5 for the Mac to demonstrate the effect that its font size and screen resolution settings will have on text appearance in webpages as viewed on a Mac.

Following is a comparison between the use of pixels (the preferred choice) and point-size (not quite as meaningful on a screen) in defining font sizes on a webpage. Toggle between IE5's 96dpi and 72dpi settings, and you'll see that fonts defined in pixels will be resolution-independent whereas the apparent size of fonts defined using point sizes is directly proportional to the dpi setting (meaning they look bigger at 96dpi than at 72dpi).

This line is set to Verdana at 12 points
This line is set to Verdana at 12 pixels

This line is set to Verdana at 11 points
This line is set to Verdana at 11 pixels

This line is set to Verdana at 10 points
This line is set to Verdana at 10 pixels

This line is set to Verdana at 9 points
This line is set to Verdana at 9 pixels

In addition, the next few lines demonstrate just why IE5's setting of 96dpi as the default (as will the coming Netscape 6) is really a good thing; just think about how often we have come across webpages with fineprint (text set to a size below 9 points) that appear fine on a 96dpi Windows display but are totally unreadable at the Mac's traditional 72dpi setting. Well, now these PC-centric webpages are readable on both, thanks to IE5 (and soon, Netscape 6). Text set at sizes below 9 pixels are however illegible either way. The following pairs of lines show the commonly-used Verdana webfont set to 8pt/8px and 7pt/7px respectively (it's okay if you can't make it out; you're not supposed to):

This line is set to Verdana at 8 points
This line is set to Verdana at 8 pixels

This line is set to Verdana at 7 points
This line is set to Verdana at 7 pixels

The majority of websites today still do not fully embrace the use of stylesheets, which are an integral component of HTML 4.0, and are still coded using a haphazard mix of elements of HTML 4.0 and the absolute or relative <font> tags of the previous HTML 3.2 standard. This explains why certain webpages, or parts thereof, may appear unaffected by the resolution settings, but others are; it all depends on how the content was coded.

IE5's screen resolution settings have NO effect on absolute and relative font sizes, but its default font size settings do. These determine the size at which the browser will render the base font, namely, <font size="3">. As the majority of websites today still cling on to these <font> tags, it explains why the text in so many of them now viewed with IE5 suddenly seem so huge. Toggling between 12 and 16 pixels will demonstrate the effect of font size settings on the following lines of text:

This is font size 7/+4
This is font size 36px

This is font size 6/+3
This is font size 32px
This is font size 24px

This is font size 5/+2
This is font size 24px
This is font size 18px

This is font size 4/+1
This is font size 18px
This is font size 14px

This is font size 3
This is font size 16px
This is font size 12px

This is font size 2/-1
This is font size 13px
This is font size 10px

This is font size 1/-2
This is font size 10px

This is font size 9px

This is H1
This is 32px
This is XX-Large
This is 24px

This is 2em

This is H2
This is 24px
This is X-Large
This is 18px

This is 1.5em

This is H3
This is 18px
This is Large
This is 14px

This is 1.17em

This is H4
This is 16px
This is Medium
This is 12px

This is 1em
This is H5
This is 13px
This is Small
This is 10px
This is 0.83em
This is H6
This is 10px
This is X-Small
This is 9px
This is 0.67em

It would be helpful to also define headers (that is, <H1> to <H6>) in stylesheets in terms of pixels, rather than leave it to the defaults; PCs and Macs use different default sizes for headers, over and above the resolution disparity.

Bottom Line:
Let's assume that you will occasionally venture beyond Mac websites into the world of sites optimized for 96dpi displays. And let's also assume that many of these still rely on the traditional coding practices that are dependent on either your screen resolution or default font size setting as described above.

The most convenient option for IE5 users then is to leave the default settings as they are (ie, font size at 16 pixels and screen resolution at 96dpi) and adjust the view as necessary using the more-accessible Text Zoom feature under the View menu (although this is not in itself perfect — even form elements like text-boxes, buttons and dropdown menus get resized!). IE5 appropriately recommends a setting of 75% if you wish to view websites that have been optimized for the Mac's 72dpi resolution (72dpi being 75% of 96dpi), so that they will look "normal". To view a PC-oriented website that comes with those dreaded miniscule fonts, just zoom back to 100%.

Webmasters may want to think about preparing their stylesheets (that is, if they use them) to define font sizes in terms of pixels, so that their text layout becomes resolution-independent. This is not to say of course that we shouldn't consider that users might want to print out a webpage as well as read it off the screen. So the coding has to cater adequately to both needs. And this is where HTML 4.0 comes to the rescue, with the introduction of media descriptors.

Use of media descriptors — The common practice these days in most websites is to actually create a different page that is "printer-friendly" and then direct users to print off this "printer-friendly" page instead of the onscreen version. However, with the introduction of media descriptors in HTML 4.0, this is no longer necessary. The very same content can actually be prepared so as to render appropriately across a variety of different media, eg on screen, in printed form, in braille, on handheld devices, or even aurally, through the use of stylesheets. Hence, you no longer have to create duplicate versions of the same content for delivery across each medium. Therein lies one of the most significant advantages of stylesheets: you separate the STYLE from the SUBSTANCE. Admittedly, support for this media descriptor feature is still pretty much dependent on web browsers like IE5 or Netscape 6 living up to their claim of full compliance with the latest HTML standards (IE5 is NOT fully compliant, believe me!). This subject will be separately dealt with at a later date.

Further reading:

Points, Pixels, DPI and You: A Style Guide to Internet Explorer 5 — Microsoft

Why Windows Web Pages Have Tiny Text — TidBITS


More Articles:

Upgraded Twice Over — And Grateful [Oct 10, 2001]

Welcome To The Future [Mar 21, 2001]

iM2 — Incredible Milestones of The iMac NewsPage [Jun 1, 2000]

What's to like about Netscape 6? Quite a bit [Apr 17, 2000]

Dealing with IE5's font and resolution settings [Mar 28, 2000]

Free Internet Arrives in Singapore [Dec 12, 1999]

Mac sales in Japan (Dec 1999) [Dec 9, 1999]

Mac sales in Japan (Nov 8-14) - iMac DV SE, iBook still #1 [Nov 23, 1999]

Adding Movies To QuickTime Favorites [Nov 23, 1999]

Black Magix: Try saying hocus-bogus [Nov 19, 1999]

Mac sales in Japan (Oct 25-31) [Nov 11, 1999]

QuickTime Live! Conference Keynote Highlights [Nov 10, 1999]

Update on Mac sales in Japan — All iMacs, iBooks among Top 10 [Nov 10, 1999]

Apple tops October PC sales in Japan [Nov 7, 1999]

About that mysterious Magix freeze [Nov 7, 1999]

Magix Miscellany [Nov 7, 1999]

Make Kihei while the Sun shines [Nov 3, 1999]

Apples in Eden — The Singapore iBook Launch [Nov 1, 1999]

One Country, Two Systems — The Apple Store (Hongkong) Opens [Oct 28, 1999]

Apple Store Singapore Opens — Right On Time [Oct 20, 1999]

Mac sales in Japan remain strong [Oct 26, 1999]

Magix For The Mac — The Unofficial FAQ [Oct 25, 1999]

Macs outsell all other computers in Japan [Oct 21, 1999]

Asia Apple Stores to open in Singapore and Hongkong [Oct 20, 1999]

Magix Broadband for Macintosh — for just $48! [Oct 20, 1999]

Asia Apple Store Update [Oct 18, 1999]

New iMacs as quiet as Jobs claims [Oct 12, 1999]

New iMacs quieter than Jobs claims? [Oct 10, 1999]

Asia Apple Store Seeks Tech Support Temp [Sep 23, 1999]

G4 — the Real Story? [Sep 17, 1999]

Sorenson Broadcaster™ Press Release [Sep 15, 1999]

Magix for iMac Update [Sep 10, 1999]

Magix for iMac Update [Aug 30, 1999]

PC Fairy Tales: Jobs And The Binstock [Aug 20, 1999]

AirPort Delays: More Revelations [Aug 12, 1999]

Stand Up For Macintosh [Aug 12, 1999]

AirPort Delays: What's Not Causing It [Aug 11, 1999]

Dumb iBook Remarks [Aug 9, 1999]

The Avon Lady's Back [Aug 9, 1999]

The IEEE 802.11 Standard — in English [Jul 29, 1999]

Everybody's Free (To Buy iBook) [Jul 26, 1999]

AirPort Fallacies [Jul 24, 1999]

iBook and iMac: Sibling Rivalry? [Jul 23, 1999]

Just The FAQs, Man [Jul 22, 1999]

Hooray for AirPort — But Remember the McPiper? [Jul 21, 1999]

Additional Notes on Magix ADSL [Jul 20, 1999]

Apple, SingTel Magix team up to bring ADSL to iMacs [Jul 20, 1999]

DuoPen & e-Pad coming to the Mac [Jul 9, 1999]

Macworld is out, Publish! World is in [Jul 5, 1999]

Discovery Channel giving away iMacs [Jun 28, 1999]

TIME Asia giving away Apple computers [Jun 28, 1999]

Diamond Rio makes a play for iMac [Jun 26, 1999]

Magix for iMac [Jun 25, 1999]

Why would Apple want 30,000 McPipers? [Jun 24, 1999]

Singapore Macworld Expo Cancelled [Jun 20, 1999]

The Sunscreen Song [Jun 20, 1999]

Coming Soon: A USB Cordless Phone For Your iMac [Jun 19, 1999]

Third Voice: Boon or Bane? [Jun 14, 1999]

I2: The Internet Of The Future [Jun 5, 1999]

Taming Your Round Mouse: What The Manual Doesn't Say [Jun 4, 1999]

UniTrap: Contour Enhancement for the iMac Mouse [Jun 1, 1999]

iMacs to ship in Taiwan with free Chinese software [May 31, 1999]

Where The Truth Lies [May 23, 1999]

QuickTime 4: New Features Added [May 8, 1999]

QuickTime 4: The Beta Just Got Better [May 5, 1999]

Rev A or B, Your iMac's Still Good [Apr 30, 1999]

Griffin Revs Up iMate, iPort, and gPort [Apr 26, 1999]

Quick! Time 4 A Movie! [Apr 23, 1999]

Message in a Bottle: A Present for the Future [Apr 22, 1999]

Start a Hand-Me-Down Program For iMacs [Apr 13, 1999]

First Signs Of Y2K Bug May Appear Tomorrow [Apr 8, 1999]

Langa's Cruisin' For A Bruisin' [Apr 1, 1999]

Tales From The Dark Side [Mar 31, 1999]

Has The Age of Disposable Computers Arrived? [Mar 30, 1999]

A Solution For The iMac's Mouse: Simple As A Dimple [Mar 24, 1999]

Steve Jobs Interview on Channel NewsAsia [Mar 14, 1999]

Good-Buy, Bondi [Mar 6, 1999]

Tokyo Tidbits: Carbon iMacs and Cool Colored Speakers [Feb 27, 1999]

The iMac Book [Feb 26, 1999]

iCab: Readers Views [Feb 25, 1999]

Review: iCab Preview 1.1 (US) [Feb 24, 1999]

iCab: Why Bloat When You Can Float? [Feb 22, 1999]

Disney Rumor Echoes Blast From The Past [Feb 19, 1999]

Disney Blast and the iMac's Circular Mouse [Feb 18, 1999]

HAL Freezes Over [Feb 1, 1999]

Another Look at Internet Explorer 4.5 [Jan 19, 1999]

Old Wine In New Bottles? [Jan 16, 1999]

The Unofficial iMac Web Ads [Jan 15, 1999]

AroMac Therapy [Jan 12, 1999]

Theft of an iMac: A Victim's Story [Jan 8, 1999]

Multi-Colored iMacs A Reality [Jan 2, 1999]

Yosemites spotted [Dec 25, 1998]

Time's Man Of The Year? [Dec 15, 1998]

Another Reset Button Solution for iMac Owners [Dec 9, 1998]

2,000 in 2 days - and then what? [Nov 1, 1998]

Product Review: iMacFloppy.com [Oct 24, 1998]

Brace Yourself! [Oct 16, 1998]

Singapore's iMac Pre-Launch Bash [Oct 15, 1998]

iMac to launch with Mac OS 8.5 in Singapore [Oct 15, 1998]

Steve Jobs October 14 Event [Oct 14, 1998]

Dances With Wolves in Sheep's Clothing [Oct 4, 1998]

iMac: Thinking Different in Asia [Sep 22, 1998]

An Open Letter to Steve Jobs [Sep 17, 1998]

Mac-bashing: An American sport? [Sep 10, 1998]

Steve Jobs Seybold Keynote '98 [Sep 1, 1998]

One day more! [Aug 28, 1998]

iMac to be released in Singapore in October [Aug 22, 1998]

Reality, not rumors! [Aug 8, 1998]

iMac says G'day Australia: 31 days and counting! [Aug 5, 1998]

Famous Myths Revisited [Aug 3, 1998]

The Countdown Begins! [Aug 1, 1998]

If not now, when? [July 26, 1998]

Four Great Programs? [July 26, 1998]

MacWorld Expo Singapore - Day 2 Report [Jul 25, 1998]

MacWorld Expo Singapore - Day 1 Report [Jul 24, 1998]

Enter The iMacGotcha [Jul 16, 1998]

iMac's for the rest of us, not just US [Jul 1, 1998]