WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Font size

for

From: John Foliot - bytown internet
Date: Jun 4, 2002 2:12PM


This may or may not be related...

A while back it came to the attention of a number of developers I know that
IE6 was exhibiting unusual font behaviour; the font appeared unusually
small. This was causing quite some concern, understandably...

The developers tracked down the following:

If you are authoring to HTML 4.01 loose, chances are you are using the
following DTD (you ARE using a DTD right?):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

The key here is the final part of the declaration; the URL to the actual
DTD. It seems that if you include this as part of the DTD, you get the
"small font" problem. However, omitting the last part and simply using the
following:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

removes the problem, and yet the page still validates. Interestingly
enough, the W3C's page on the HTML 4 Specifications
(http://www.w3.org/TR/html401/) use this "abbreviated" DTD.

FWIW

JF



>