|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
IE displays code instead of page
Just wondering if anyone else is noticing any problems viewing valid (according to W3C) XHTML in Internet Explorer. For some pages, I get what looks to be an XML rendering of my XHTML. Please let me know if you've heard anything about this. Can't seem to find any news myself. TIA
|
|
#2
|
|||
|
|||
|
RE: IE displays code instead of page
Weird. I've never seen it happen with XHTML. Checked Apache settings? Maybe put your DOCTYPE to transitional if it's on strict. Strict really should send a different header to the client browser but IE dosn't recognise this and can sometimes ask to download the code or view the code as is.
Never heard the code actually been rendered differently from the actual xhtml... Got an example? |
|
#3
|
|||
|
|||
|
RE: IE displays code instead of page
The problem is that your using IE. Get mozilla firefox!
|
|
#4
|
|||
|
|||
|
RE: IE displays code instead of page
What is the extension?
If it's .xhtml and it's on your local machine, then it will attempt to view it as application/xhtml+xml, when in all honesty you probably want it viewed as text/html. Just rename it to .html should fix that. If it's on a remote server, it's the same thing again, either change the mime-type for .xhtml or .xht to text/html, or just rename it to .html. |
![]() |
| Viewing: Codewalkers Forums > General > General Chat > IE displays code instead of page |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|