Forum Moderators: not2easy

Message Too Old, No Replies

CSS scripts failing on other server

CSS breaks on linux service

         

max4

4:45 pm on Jun 15, 2008 (gmt 0)

10+ Year Member



Hi,

I have a few people working on my website, a team that I put together. Two of us are scripting the site and we both have apache installed on our computers, I have Windows, he has Linux. We were able to use our old table/html layouts on both servers with no problems. The problems arose when we converted to CSS, particularly the change from tables to divs. On my server, everything runs fine and displays correctly, on his none of the CSS is being recognized, only the CSS-P and even that is buggy.

Now, when my teammate connects to my service from his computer everything loads up fine, so other people can view my website without any difficulties - but for some reason when he runs the exact same document through his service, everything messes up.

I'm worried because I was considering running our dedicated server on a Linux operating system. Could it be a problem with Linux and CSS?

encyclo

4:51 pm on Jun 15, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The most significant difference between Linux and Windows servers are that Linux filenames are case-sensitive and Windows filenames are not. Make sure you are using lower-case for everything.

Other issues can be because of file paths being different, or that the CSS file is not being served with the correct mime type (an Apache configuration issue).

max4

11:53 pm on Jun 15, 2008 (gmt 0)

10+ Year Member



Interesting. I think the issue is the mime type, I will have to look into that before launch. Thanks encyclo.