
around with some css and have created a simple homepage.
when my html and css files are on my harddrive and i open the html file it calls on the css file without any problem.
but when i upload them both to my webspace the html doesn't call on the css file and just displays the html
the link to the css file, which is in the same directory is fine, ("href="hpage.css"). so i'm puzzled as to what else it might be.
does anyone have a clue?
apologies for length
edit: wow, do i feel silly now. i re-uploaded the files just now and it worked... guess my hosts were just being bastards yesterday...
( , Wed 8 Sep 2004, 14:41, archived)

have you tried substiuting in an absolute path, ie. href="http://my.web.server/path/style.css"
?
( , Wed 8 Sep 2004, 14:44, archived)

it the actual web addres as the link.... i.e
"href="http://www.yoursite.com/cssfile.css" "
rather than i.e local/css.css
edit: Pissage of the mind *points upwards*
( , Wed 8 Sep 2004, 14:45, archived)

(Which isn't to say it won't.)
( , Wed 8 Sep 2004, 14:48, archived)

Never did quite work out why. Perhaps it is because I'm mostly pissed.
( , Wed 8 Sep 2004, 14:52, archived)

Servers tend to be case sensitive, Windows is not. Also Windows sometimes lies and shows filenames in lowercase when they are actually in uppercase.
To make sure, rename the files something different, then back to what they should be, in lowercase. (Just changing a file from FOO.HTML to foo.html under some Windowses won't necessarily change its 'real' name. This is due to stupid, copout, bug-for-bug backward compatibility with MS-DOS.) Then reupload and try again.
( , Wed 8 Sep 2004, 14:47, archived)