简体   繁体   English

Spring 中 HTML 中的 CSS 链接

[英]Css Link in HTML in Spring

在此处输入图片说明

I have this CSS problem.我有这个 CSS 问题。 I can't link it with my HTML file.我无法将其与我的 HTML 文件链接。 I'm using a template from Colorlib and I can't link it.我正在使用 Colorlib 的模板,但无法链接它。 So I hope I will get an answer thanks.所以我希望我能得到答案谢谢。

Under your href try adding ./在您的 href 下尝试添加 ./

href=./css/styles.css href=./css/styles.css

Also, in the future it is always best practice to copy/paste your code in your question and not just simply add an image.此外,将来最好的做法是在问题中复制/粘贴代码,而不仅仅是添加图像。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM