XML with CSS in IE5

John E. Simpson simpson at polaris.net
Fri Feb 26 13:59:00 GMT 1999


At 07:00 PM 2/26/99 +0900, Chung, Byung Hee wrote:
>In IE5, XML document without stylesheet is displayed as tree.
>I want to see XML document with CSS stylesheet in IE5.
>How can I link CSS information to XML document ?

Include the following line at the head of your document:

	<?xml:stylesheet type="text/css" href="http://your.css.URI/here.css"?>

replacing "http://your.css.URI/here.css" with, of course, the URI of the
stylesheet.

[Warning: IE5's support for CSS is still rather selective. A list of
features supported and non-supported is at
http://www.microsoft.com/workshop/author/css/reference/attributes.asp, but
the list of non-supported ones doesn't tell the whole story -- at least if
you want to use CSS2 rather than CSS1.]

=============================================================
John E. Simpson          | It's no disgrace t'be poor, 
simpson at polaris.net      | but it might as well be.
                         |            -- "Kin" Hubbard

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list