Jump to content

[SOLVED] Page not displaying correctly


wrathican

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.