Is this an MSIE bug?

Hi all,

I have run across an interesting MSIE & CSS1 issue.  As near as I can tell
it's a bug in MSIE, but I would like a few more opinions before sending it
to MS:

I have defined:

<HTML>
<HEAD>
<TITLE>test</TITLE>
<STYLE>
<!--
.Normal { text-align: left; font-family: "Times New Roman"; font-size:
12pt; }
-->
</STYLE>
</HEAD>
<BODY>
<P CLASS="Normal">
<FONT SIZE="5" FACE="Times New Roman">
This text should be fairly large.
</FONT>
</P>
</BODY>
</HTML>

The text in the above example ends up in 12pt TNR.  Shouldn't the <FONT>
tag override the values set by the CLASS attribute.

The following example (using inline styles) works as I expected it would:

<HTML>
<HEAD>
<TITLE>test1</TITLE>
</HEAD>
<BODY>
<P STYLE="text-align: left; font-family: \"Times New Roman\"; font-size:
12pt;">
<FONT SIZE="5" FACE="Times New Roman">
This text should be fairly large.
</FONT>
</P>
</BODY>
</HTML>

In this case everything seems fine.  The text is larger than 12pt.

BTW--This is independant of monkeying with browser defaults for font sizes,
etc.

Any ideas?

Thanx

Tom



------
Opinions expressed here-in are strictly that of the author and not that of
his employer.
--Geez, I hate legal mumbo-jumbo...


Tom Schlarman
Adobe Systems
Scottsdale, AZ
tschlarm@adobe.com

Received on Thursday, 31 October 1996 17:15:03 UTC