Jump to content

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/100614-solved-page-not-displaying-correctly/
Share on other sites

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.