wrathican Posted April 11, 2008 Share Posted April 11, 2008 Hey guys i do all my testing on my local server (wamp 5 on my PC) when im satisfied i upload to my hosting server and it looks totally different. my URL is: http://ls12style.co.uk/projects/Wonstar/ for some reason everything just 'lists' on the hosting server but on my local machine it looks like it should it was working fine 2 days ago, displaying correctly, i checked it about a day after i had uploaded it and it wasn't right. anyone have any idea why this happens/whats wrong? Quote Link to comment https://forums.phpfreaks.com/topic/100614-solved-page-not-displaying-correctly/ Share on other sites More sharing options...
friedemann_bach Posted April 11, 2008 Share Posted April 11, 2008 It seems that the page cannot access the CSS file you are referring to in your header. I would advise to check whether the CSS is uploaded to the correct location and whether the rights are set correctly. Quote Link to comment https://forums.phpfreaks.com/topic/100614-solved-page-not-displaying-correctly/#findComment-514585 Share on other sites More sharing options...
wrathican Posted April 11, 2008 Author Share Posted April 11, 2008 everything is in the right location. what do u mean 'rights'? would that be something my host sorts out? Quote Link to comment https://forums.phpfreaks.com/topic/100614-solved-page-not-displaying-correctly/#findComment-514930 Share on other sites More sharing options...
haku Posted April 11, 2008 Share Posted April 11, 2008 The file appears to exist, but is not readable. Assuming (hoping?) you are using an apache server, you should be able to use an ftp client, right click on the css.file and choose 'file_attributes', then change them to make the file readable. This is assuming that you have won.css in the same directory as the file you are accessing. Finally, you have to change this: <link rel="stylesheet" href="won.css" /> to this: <link rel="stylesheet" href="won.css" type="text/css" /> Which you should actually do first, as that may potentially solve your problem right there. Quote Link to comment https://forums.phpfreaks.com/topic/100614-solved-page-not-displaying-correctly/#findComment-515145 Share on other sites More sharing options...
wrathican Posted April 12, 2008 Author Share Posted April 12, 2008 well. that solved that then. it seem changing the permissions sorted it out. i wonder why it did that to being with? thanks ever so much! Quote Link to comment https://forums.phpfreaks.com/topic/100614-solved-page-not-displaying-correctly/#findComment-515593 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.