My css
file is not working. I store my css
file public_html/css/main.css
.
But it's not working.
Where should i put this?
Asked
Active
Viewed 100 times
-1

Shuvo
- 273
- 2
- 7
- 23
-
whats the error message ? – imrealashu Nov 04 '16 at 00:27
-
You need to call your css inside `` tag and specify the path. Maybe you can put the css inside `public/css` directory – claudios Nov 04 '16 at 00:29
2 Answers
0
Look in your index.html file for the line:
<head>
<link rel="stylesheet" type="text/css" href="FILENAME.css">
</head>
The href is the link to the .css file. Make sure the path is correct.
0
You need to call your css inside <head>
tag and specify the path. Maybe you can put the css inside public/css
directory. Your link should look like below:
<head>
<link rel="stylesheet" type="text/css" href="/css/main.css">
</head>

claudios
- 6,588
- 8
- 47
- 90