[thelist] IE6 not rendering page on localhost

Jim Dabell jim-lists.evolt.org at jimdabell.com
Thu Aug 29 06:55:01 CDT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Thursday 29 August 2002 4:47 am, Chris Johnston wrote:
> Hello,
>
> I have a very odd problem. I have set up on my computer a ColdFusion
> development environment using CFMX and Apache 1.3.26 and I am trying to
> create a website using xhtml, css and divs, i.e. tableless. The problem
> comes when I try to get the page to render in IE6. It does fine in
> Mozilla 1.1 and Opera 6.0.3.
>
> Instead of a nice looking webpage, I get what looks like an xhtml tree
> in the browser. I can even collapse/expand all the little sections in
> the page. All the xhtml and the css validates perfectly according to the
> w3c validators.

It sounds like you are serving it as text/xml or something instead of the
more usual text/html[1].  mozilla and opera understand xhtml; ie does not,
it relies on it's "tag soup" parsing to understand xhtml, and so falls down
when there is no indication that it is html.

Rename your files to *.html or alter the server setup to serve files as
something more appropriate.

[1] You should only really serve xhtml 1.0 as text/html, and only if it
follows appendix c of the recommendation.  The proper xhtml mimetype is
application/xhtml+xml, but as already noted, ie doesn't understand this, so
you are pretty much limited to xhtml 1.0 in "backwards compatibility mode"
if you want to stay in spec and still have things work for users with ie.

- --
Jim


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9bgq83tJNldoQhi8RApbQAJ93/KcX/iJSADHz6D1F2CSVroMVfwCgolOB
UE4t9j28PQHpNAmIYDlgO/Y=
=dITh
-----END PGP SIGNATURE-----




More information about the thelist mailing list