Web page displays css properly from ie but not from a folder.
Web page displays css properly from ie but not when I try to view the page directly from within a folder.
On my server when I go to the web address of the page the web page will display properly with css formatting. The probblem is when I go directly to a folder on the server and double click the html file. It doesn't display itself with the css formatting any longer.
Why is opening a web page directly from the folder different than navigating it via a browser? The browser still opens to display the html even when I open the file from it's folder location.
THanks in advance for any explanation or fixes for this.
I don't have this setup, so take this with a grain of salt...
When you open the file via a web browser, you're using http with all its goodness. When you open it via the file manager, it is not using http, it is getting the file via a file copy, for which the XAMPP server is not involved, and therefore not feeding your browser the CSS. In other words, it could be that what you're seeing is perfectly normal behavior.