IE4's handling of escape characters in CSS class names

Correct me if I'm wrong, but IE4 may have a problem with escaped characters
is class names.

Consider the following HTML/CSS document:

-------------------

<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<HTML>
<HEAD>
<TITLE>Title</TITLE>
<STYLE TYPE="TEXT/CSS" >
span.My\0020Style {
 font-family: "Arial", sans-serif;
 font-weight: bold;
}
</STYLE>
</HEAD>
<BODY>
<P>a <SPAN class="My Style" >b</SPAN> c
</BODY>
</HTML>

--------------------

In IE4 (Windows) the rule isn't matched, so "a", "b", and "c" all look the
same.

BTW: I've tried variants like class="My\0020Style" to no avail.

Am I missing something here (Håkon, Bert)? Is there a workaround (Chris
Wilson)?

--
salling@xanthus.se
Senior Software Engineer
Xanthus' iWrite

Received on Thursday, 16 April 1998 09:27:12 UTC