467,213 Members | 1,069 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,213 developers. It's quick & easy.

bizarre https link stylesheet disappearance

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
  • viewed: 1947
Share:
3 Replies
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
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
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.

Similar topics

4 posts views Thread by Luther Baker | last post: by
3 posts views Thread by zn | last post: by
2 posts views Thread by Freddy | last post: by
2 posts views Thread by Greg Collins [Microsoft MVP] | last post: by
3 posts views Thread by nick | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.