mozilla displays source
Why would mozilla display my source code instead of the page? Does it have to do with the shtml or the CSS?
I saved your code with the filename index2.html - dropping the s - and Moz loaded the page fine (minus the graphics and CSS of course, since I saved the HTML file on my local machine).
Any reason for using .shtml?
the actual source has a virtual include - hence the shtml. I am learning that this could be a server issue. The server included the code and then sent the "new" source to the browser as text???
Has any one else seen this before?
It has nothing to do with the extension but the MIME type the server uses for the page. Yours is served as text/plain which is what Moz shows.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)