How to load CSS on SSL pages?


Tags: css,ssl

Problem :

I am using relative paths to my CSS document, but on the SSL pages the document will not load. Navigating back to the non-SSL pages brings SSL back. How to I overcome this?



Solution :

There is nothing wrong with using relative paths with SSL pages, there must be something else involved.

Have you considered any other logic you may have, an extra redirect with different URL, or anything else that could be causing it?

PS. If you are using Chrome, hit view source and Ctrl-click on the CSS path. It should take you to what it's supposed to be pointing at.


    CSS Howto..

    How to display child elements of
  • at 100% height?
  • How to do fallback for browser-specific css expressions

    CSS: Background in front of image - how to prevent it?

    How to stop jitter of relatively placed items on scrolling with mouse?

    How to make parent div above child div without position absolute?

    How to render a hierarchy tree in HTML5/CSS?

    How can I make the parent div draggable

    How can I include a HTML-encoded “content:” character in CSS? [duplicate]

    How to make content fill space inside
    tag in html?

    How to exclude leading hyphens from justification in dialogue lines using CSS + HTML?

    How to run a different html file when device width changes?

    How to reduce amount of space between lines of text

    How to blink a text on button in IE ,chrome etc using JQuery or CSS

    Jquery/CSS, how to have and access multiple (left) panels, while adjusting main content container automatically

    How to add multiple link styles on the same page?

    How to keep curved borders using css 3

    How to don't effect elements inside an filter-affected element?

    How to make three DIV align vertical if not enough space horizontal

    CSS hover - How do I get it to change two nested divs

    How to make element slide down from display:none?

    How do I get placeholder text in firefox and other browsers that don't support the html5 tag option?

    How can I change this HAML format to normal CSS style?

    How to have elements copy other element's auto height css?

    How to give space between each tab in the navigation using Jquery and CSS

    How to change order of divs in HTML code, for 3-column CSS Layout?

    Button element styled with CSS is not showing the background-image in IE6

    Using CSS to style a Sencha Touch form - how do I find the elements?

    How to change position of Semantic UI sidebar for different screen sizes?

    How to make child element do not fill his parent when hover is performed in CSS?

    How to keep floated width of divs to stay exact instead of 100%?