Forum Moderators: not2easy

Message Too Old, No Replies

Internet explorer - NO CSS!

         

collymellon

12:59 pm on Jul 19, 2005 (gmt 0)

10+ Year Member



Hope all is well..

I released my site a few days ago, all is great, tested it on multiple computers/browsers etc.

But just looked at it through my bosses PC (XP Pro, SP2, I.E 6.0) and it displays the site but with no style sheet!. Cant find any settings that suggest CSS is turned off. The files are on server okay etc.

Any idea's?

jbinbpt

1:03 pm on Jul 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Here is a registry setting for style sheets

Internet Explorer on Windows
The only way to disable stylesheets is to edit the windows registry (Start - Run - 'regedit') and changing the value of 'HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Use StyleSheets' to 'no'

collymellon

1:08 pm on Jul 19, 2005 (gmt 0)

10+ Year Member



thanks for response, I have checked that and all okay. It displays other css sites okay. I have got a stylesheet switcher on the site (changes through 5 sheets for colour contrast) these use cookies - could it be anything to do with that?

I've been looking for last couple of hour and can't understand why all of a sudden no style sheet is there (worked fine on his machine yesterday)...

oddsod

1:12 pm on Jul 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is it still working OK in Firefox?

If it is double check the "paths" to the CSS files.

collymellon

1:20 pm on Jul 19, 2005 (gmt 0)

10+ Year Member



It is displaying okay still in FF. Checked paths etc all spot on. If/when I fix this wierd problem I'll report back - I have looked all over the net for resources on why this could happen with no luck..

encyclo

1:29 pm on Jul 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you disable cookies in Firefox, what happens? Does it display with no styles? If so, then it will be the cookie settings in IE which are the problem (perhaps the security level is set too high?).

You should ensure that your site's primary CSS styles work even without cookies, even if that means that the stylesheet switcher won't function.

vincevincevince

1:40 pm on Jul 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



1/ Have you validated your CSS file?
2/ Try using an absolute path
3/ Try putting the CSS file within the document (not linked)
4/ Are there any javascript errors produced?

collymellon

10:43 am on Jul 20, 2005 (gmt 0)

10+ Year Member



Thanks for the help.

It was the cookies causing the problem. I had previuosly run a test site on that machine, the test site stored a cookie when I selected a different style sheet.

When I released the new site that cookie was still there pointing to a stylesheet that didn't exist..
A simple click on change style sheet in the new site has over-ridden the old cookie so all is well now.

Thanks again

g1smd

10:39 am on Jul 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




How many other unknown users of your site are having the same problem? You might need to force a cookie update on them too.