J
jrl0726
Guest
Hello,
I have a strange problem with the site preview feature in Plesk 7.5.3. For some reason it is not applying my CSS. My CSS are linked using a relative path and the site renders fine aside from not applying the CSS. If I browse to the site normally (after editing the hosts file on my computer), my browser shows the site with CSS applied. I created a simple test file:
<html>
<head>
<title>Test</title>
<link href="test.css" rel="stylesheet" type="text/css">
</head>
<body>
Test
</body>
</html>
Test.css contains the following:
body{
font-family: Arial,sans-serif;
font-size: 16px;
color: #333333;
line-height: 1.466;
margin: 0px;
padding: 0px;
background-color: #FFFFFF;
}
As before, the CSS works if I browse to the test file normally, but not in the site preview.
Have any of you encountered this problem?
Would any of you offer some suggestions as to what might cause this problem or how to go about troubleshooting it?
Thanks!
I have a strange problem with the site preview feature in Plesk 7.5.3. For some reason it is not applying my CSS. My CSS are linked using a relative path and the site renders fine aside from not applying the CSS. If I browse to the site normally (after editing the hosts file on my computer), my browser shows the site with CSS applied. I created a simple test file:
<html>
<head>
<title>Test</title>
<link href="test.css" rel="stylesheet" type="text/css">
</head>
<body>
Test
</body>
</html>
Test.css contains the following:
body{
font-family: Arial,sans-serif;
font-size: 16px;
color: #333333;
line-height: 1.466;
margin: 0px;
padding: 0px;
background-color: #FFFFFF;
}
As before, the CSS works if I browse to the test file normally, but not in the site preview.
Have any of you encountered this problem?
Would any of you offer some suggestions as to what might cause this problem or how to go about troubleshooting it?
Thanks!