-1

Root file is Practise2 folder:

-Resources (folder)
-php_script (folder)
-index.php (file)

inside Resources file:

-html (folder)
-styles (folder)
-images (folder)

inside the styles folder:

-login.css (file)

I want to link the login.css file with the index.php file

index.php linking code…

<link rel="stylesheet" href="/Resources/styles/login.css">
ADyson
  • 57,178
  • 14
  • 51
  • 63

1 Answers1

0

Try adding a dot to the previous Resources folder.

<link rel="stylesheet" href="./Resources/styles/login.css">
Pratham
  • 1
  • 2