mercredi 4 septembre 2019

CSS not showing the same layout after a deployment

I am loading the same html/css/js(WebGL) code, one from localhost the other from deployment server. Localhost uses python -m http.server to test the web and the deployment server uses Apache HTTP.

My problem is that the two servers are not showing the same layout.

Below is the screenshot of same sized chrome windows, one running on a python server and the other from Apache.

Does web servers affect the layout? If yes, should I use the same servers for testing? If no, what makes two contents different? (I thought servers are just serving the files, but I have unexpected results)

C.f. There is no difference in terms of CDN loading or errors.

enter image description here




Aucun commentaire:

Enregistrer un commentaire