Forum Moderators: open

Message Too Old, No Replies

xhtml and IE 5 on Mac

downloads rather than displays

         

SmallTime

7:19 pm on May 23, 2002 (gmt 0)

10+ Year Member



Xhtml not recognized by IE 5 on Mac, prompts for download, any ideas?

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

I read somewhere that removing the first line fixes it for that browser, does it mess it up for others? Also curious about charset for xhtml.

Nick_W

7:49 pm on May 23, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try it with the xml declaration beneath the doctype stuff.

IE5 on win prints the xml code source if you mess up the dtd on it so I'm guessing there is a similar 'feature' on early Mac versions.

Nick

SmallTime

6:59 am on May 24, 2002 (gmt 0)

10+ Year Member



That works, thanks :)