ellen
08-20-2003, 09:09 AM
Why would mozilla display my source code instead of the page? Does it have to do with the shtml or the CSS?
http://www.niagarapeninsula.com/index2.shtml
http://www.niagarapeninsula.com/index2.shtml
|
Click to See Complete Forum and Search --> : mozilla displays source ellen 08-20-2003, 09:09 AM Why would mozilla display my source code instead of the page? Does it have to do with the shtml or the CSS? http://www.niagarapeninsula.com/index2.shtml toicontien 08-20-2003, 10:19 AM 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). If you're page is just straight HTML, javascript and CSS, then there is no need for any other file extension than .html or .htm. Any reason for using .shtml? ellen 08-20-2003, 10:32 AM 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? Vladdy 08-20-2003, 11:20 AM 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. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |