Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

CSS external stylesheet ignored despite relative path

css

2 replies to this topic

#1 WebDev22

  • Community Member
  • 429 posts
  • Real Name:Brett
  • Gender:Male

Posted 11 December 2011, 16:24

My external stylesheet seems to be "partially" ignored on HTTPS pages: www.swingaway.com. Any ideas what I'm missing? I've used the same convention on sites that I've built from the ground up. I wasn't the original developer on this particular site and am obviously missing something. Thanks.

#2 MrPhil

  • Community Member
  • 3,294 posts
  • Real Name:Phil
  • Gender:Male

Posted 11 December 2011, 18:08

What do you mean by "partially ignored"? It's definitely reading the CSS file, but not implementing some things? By any chance do you suppress the loading of "insecure" (i.e., non-SSL) items on your page? If so, see if that's what's blocking some items (images, JS files, etc.). If it is, make sure any URLs in the CSS are themselves https:, and if they do not explicitly give an http<s>, check if those directories are covered by SSL.

#3 germ

  • Community Member
  • 13,587 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 11 December 2011, 19:53

The previous developer also left "unsecure items" on the SSL pages - the google analytics script.

There is a newer version available that works with SSL.
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

"Headers already sent" - The definitive help

"Cannot redeclare ..." - How to find/fix it

SSL Implementation Help

Like this post? "Like" it again over there >