Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

cant linking html/css pages

I have 3 pages im trying to like:

-index.html

-top-ten.html

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

-contact.html

my css code is responding fine with the index.html but when i copied the code to the other 2 pages the css isnt responding to that. I tried reading documents and youtube vid but its not really helping. Im sure it’s a simple fix but for i just cant figure it out. thanks! ill attach snippits of the codeindex.html page code

>Solution :

Change

<link rel="stylesheet" href="./css/css.css">

to

<link rel="stylesheet" href="../css/css.css">

This will find the css file from those files which are one level deeper in the pages folder.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading