Thread: CSS won't load
View Single Post
Old May 25th, 2007, 8:29 PM   #1 (permalink)
shad
Registered User
Seasoned Poster
 
Joined in May 2007
30 posts
Gave thanks: 0
Thanked 0 times
CSS won't load

This is about as simple as it gets, but I still can't get it to work and neither can the people I've already asked for help, at this point I hope it's just something really basic we're all overlooking. Which is why I come to you good people of the surmunity for advice, consolation and of course hugs.

To sum up the problem, I can't seem to link a css file from my main html doc, and make it work. I've tried all sorts of things, file permissions, hard linking, upload methods (binary/etc), uploading it to another site hosted by a friend/surpass where css was working. Anyway, here are my two docs.

index.php
Code:
<html>
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <link rel="stylesheet" href="inc/style.css" type="text/css">
        <title>northflare</title>
</head>
<body>
        <p>This really should be working.</p>
        <img src="images/header.jpg" alt="northflare - header"></img>
        <br>        
</body>
</html>
inc/style.css
Code:
body {  
font-family: Verdana, Arial, Helvetica, sans-serif; 
font-size: 9px; 
font-style: normal; 
color: #ff0000; 
text-decoration: none
}
This code is up and running at www.northflare.com, From my understanding, at the very least, this should change the text of the body to the specified color, which is red. It does not. As I've mentioned I've tried a myriad of possible fixes and nothing has work, I really don't know why this is so.

If anyone can shed some light onto this problem, I would definitely appreciate it. Thank you!
shad is offline   Reply With Quote