dimanche 12 juin 2016

CSS cannot be resolved in Django


The first line of the html file is <!DOCTYPE html>, and the css file path is set correctly. Everything is OK when the html file and css file are in the same path and open the html file offline. However, when start the django server, the css file cannot be resolved. It can be found, but is blank in develper-mode in Chrome. When I delete the <!DOCTYPE html> in html file, everything is OK again.


Aucun commentaire:

Enregistrer un commentaire