XML pretty printing in HTML

Andy.Bradbury at syntegra.bt.co.uk Andy.Bradbury at syntegra.bt.co.uk
Thu Jul 8 11:26:32 BST 1999


>As it happens, this wasn't anything close
>to legal HTML4. You're not allowed to but
><FONT> elements inside a <PRE> section
>anyway.  So I'm  going to have to mess
>around with <P>'s, <BR />'s and &nbsp;'s.

I don't know if it's strictly "legal", but both NN and IE v4.x allow a <FONT
COLOR=...> setting within <PRE>  </PRE>.

What they ignore is <FONT SIZE=...> and <FONT FACE=...>.

Seems logical - almost  ;¬)


Andy B.

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