bizarre https link stylesheet disappearance

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • cruiserweight

    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)

    Explore the best of Cambodia hotels with FCC Collection’s iconic waterfront properties, from the newly renovated FCC Angkor in Siem Reap to FCC Phnom Penh. Official Site.


    and here (styles fine)

    Explore the best of Cambodia hotels with FCC Collection’s iconic waterfront properties, from the newly renovated FCC Angkor in Siem Reap to FCC Phnom Penh. Official Site.


    any ideas...

    thanks much in advance
  • David Dorward

    #2
    Re: bizarre https link stylesheet disappearance

    cruiserweight wrote:[color=blue]
    > try for yourself here (styles broken)
    > https://www.fcccambodia.com/resolution/[/color]

    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
    [color=blue]
    > and here (styles fine)
    >
    > http://www.fcccambodia.com/resolution/[/color]

    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

    Comment

    • Mark Tranchant

      #3
      Re: bizarre https link stylesheet disappearance

      cruiserweight wrote:
      [color=blue]
      > 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/[/color]

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

      --
      Mark.

      Comment

      • cruiserweight

        #4
        Re: bizarre https link stylesheet disappearance

        David Dorward <dorward@yahoo. com> wrote in message news:<ceslfp$pg 7$1$8302bc10@ne ws.demon.co.uk> ...[color=blue]
        > cruiserweight wrote:[color=green]
        > > try for yourself here (styles broken)
        > > https://www.fcccambodia.com/resolution/[/color]
        >
        > 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
        >[/color]

        That would appear to be the problem, no? Awesome. Thanks.

        Comment

        Working...