isaac_cm Posted November 29, 2007 Share Posted November 29, 2007 Hi, I using a simple css file for a report it has some colors and borders and it work fin on localhost, the problem when I upload to my server I see the report without any css at all !! the css file is called like that <link href="css/Items.css" rel="stylesheet" type="text/css"> in a file called header.php then I include that file in the final report page any idea ?? Quote Link to comment https://forums.phpfreaks.com/topic/79415-solved-my-css-file-work-only-on-localhost/ Share on other sites More sharing options...
sKunKbad Posted November 29, 2007 Share Posted November 29, 2007 try changing the location of the Items.css file to root, and adjust the href. Quote Link to comment https://forums.phpfreaks.com/topic/79415-solved-my-css-file-work-only-on-localhost/#findComment-402373 Share on other sites More sharing options...
obsidian Posted November 29, 2007 Share Posted November 29, 2007 Like sKunKbad recommends, you need to double check your directory structure. Also, you need to double check your capitalization of your filename and make sure you are referencing the appropriate file. Quote Link to comment https://forums.phpfreaks.com/topic/79415-solved-my-css-file-work-only-on-localhost/#findComment-402385 Share on other sites More sharing options...
isaac_cm Posted November 29, 2007 Author Share Posted November 29, 2007 Hi obsidian, How are you ? Thanks guys it is indeed a capitalization problem. Quote Link to comment https://forums.phpfreaks.com/topic/79415-solved-my-css-file-work-only-on-localhost/#findComment-402458 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.