CSS not displaying?

RayHanz14

New member
Jan 8, 2010
44
0
0
Philly
So I have a lander exactly the way I want it on my hard drive. After I upload it to my server, the "style.css" is not pulling thorough and just the HTML is being displayed.

I have a feeling it has to do the folder structure and the paths in the index file but can't figure it out.

Here's how it structured on my server (Sorry for the text... anyone have a easy to use screen grab program?)

Root Folder: "Folder 1"
"Folder 1" files: htaccess, index.html, offer.php, style.css

Sub-folders: cgi-bin, Folder 2
Folder 2 sub folder: img
img folder files: img1, img2, etc, etc....

Hopefully the issue jumps out at somebody cause I'm not having any luck.

- Ray
 


If the CSS file is in the same folder as the index.html file, you should be able to use 'style.css' as the path. If this doesn't work, could you provide the code you're using in your HTML file to reference the CSS file?
 
If the CSS file is in the same folder as the index.html file, you should be able to use 'style.css' as the path. If this doesn't work, could you provide the code you're using in your HTML file to reference the CSS file?


<link href="style.css" rel="stylesheet" type="text/css" />


My CSS file is in the same folder as the index.html" file.