By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,648 Members | 1,190 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,648 IT Pros & Developers. It's quick & easy.

bizarre https link stylesheet disappearance

P: n/a
i am trying to serve the exact same page from both http and https
servers. i am using a linked stylesheet like this

<link rel="stylesheet" href="../styles/main.css" type="text/css" />

the http server works exactly like expected, just fine. but if you
switch to https the linked stylesheets stop working and you receive an
unstyled page.

try for yourself here (styles broken)

https://www.fcccambodia.com/resolution/

and here (styles fine)

http://www.fcccambodia.com/resolution/

any ideas...

thanks much in advance
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
cruiserweight wrote:
try for yourself here (styles broken)
https://www.fcccambodia.com/resolution/
Works fine ... but then you've edited it since you asked for help.

If I manually request the style sheet you were using, server says:

Content-Type: application/x-pointplus
and here (styles fine)

http://www.fcccambodia.com/resolution/


Server says: Content-Type: text/css

My browser knows how to handle style sheets written in CSS, it doesn't know
how to handle style sheets written in x-pointplus (which is no surprise
given that a not-used-very-much Powerpoint plugin thingy isn't actaully a
style sheet language). As it doesn't know what to do with it, it ignores
it.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 20 '05 #2

P: n/a
cruiserweight wrote:
i am trying to serve the exact same page from both http and https
servers. i am using a linked stylesheet like this

<link rel="stylesheet" href="../styles/main.css" type="text/css" />

the http server works exactly like expected, just fine. but if you
switch to https the linked stylesheets stop working and you receive an
unstyled page.

try for yourself here (styles broken)

https://www.fcccambodia.com/resolution/

and here (styles fine)

http://www.fcccambodia.com/resolution/


Both work fine here in IE6/Win and FF0.9.2/Win. Try clearing your
browser caches?

--
Mark.
http://tranchant.plus.com/
Jul 20 '05 #3

P: n/a
David Dorward <do*****@yahoo.com> wrote in message news:<ce*******************@news.demon.co.uk>...
cruiserweight wrote:
try for yourself here (styles broken)
https://www.fcccambodia.com/resolution/


Works fine ... but then you've edited it since you asked for help.

If I manually request the style sheet you were using, server says:

Content-Type: application/x-pointplus


That would appear to be the problem, no? Awesome. Thanks.
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.