im trying to add my .css file, but it is not working, not applying, but when I put the same style code in html it works, so the problem is with linking, but i think i am doing it right enter image description here
i have also tried putting but i know i gotta put the folder names too, so both dont work, also, something wrong with linking, cuz i tried putting in and it still wouldnt link, and show but when i tried online image, it would link
CodePudding user response:
change the 9th line as
<link rel="stylesheet" href="../static/style.css">
because u need to go back from dashboard.html use"../"
Then goes to the stylesheet file as "static/style.css"
CodePudding user response:
Path should be ../static/style.css in href attribute
CodePudding user response:
try '.././', '../../' or '../'
eg. .././static/style.css