I just built my first website from scratch. All of my CSS and images are linked just fine from my computer, but when I uploaded everything to my hosting site (using Fat Cow) all of the links broke. So now I have an unstyled page with no images.
My .html is in the root directory and there are folders for my CSS, Fonts, Images, and JS. My style sheets are currently linked like this:
<link rel="stylesheet" href="css/style.css" />
This is what I've tried so far:
- Moving style.css out of the CSS folder into the root and linking it
as
"style.css"
- Creating a new style.css directly in the root
linking it as
"style.css"
- Linking style.css (one in the root) as
"root/style.css"
- Linking style.css (one in the root) as
"fulldomainname/style.css"
This is my daughter's birthday present. Any help would be greatly appreciated!
Sarah
try the above code and upload via ftp