我想设置背景图片在我的网站背景图像中添加网站在Django
但style.css
文件不可见,它有这个错误是"Cannot reslove directory 'Images'
CSS:
background: white url("images/one.png") no-repeat right bottom;
index.html:
{% load staticfiles %} <link rel="stylesheet" type="text/css" href="{% static 'music/style.css' %}"/>
我想从music/images/one.png
由于选择的图像是提前
不应该是'url(“music/images/one.png”)'? – VMRuiz
尝试过,但仍然存在相同的问题,它有红色标记下音乐/图像/ one.png –
下线请发布您的文件夹树,如果您正在调试模式或不。 – VMRuiz