Page 1 of 2

Css wont show up on Firefox, IE OK

Posted: Sun Mar 15, 2009 12:46 am
by yosimi
Hi ppl,

I am new to cmsms,
I have tried to find it out by searching the forums.. but...

i got a successful installation. Everything works perfect except a little but strange problem.
In explorer site works perfect, but when you enter the site from firefox, well it looks like a site without an css sheet attaached to it. I mean no styles, it looks html only.

I will really apriciate any clue on this.

Thanks

site is:    http://www.mizrachi.mobi/cmsms

Re: Css wont show up on Firefox, IE OK

Posted: Sun Mar 15, 2009 4:01 am
by CWebguy
Try refreshing the browser by hitting F5, you may have missed caching the file.

Lance

Re: Css wont show up on Firefox, IE OK

Posted: Sun Mar 15, 2009 8:20 am
by yosimi
lol :)

thanks for the reply but it is not the case. i am new to cmsms but not to internet :)
i have already cleared the cache, reset the the browser...
however the same issue occurs in different computers and only in firefox, all other browsers seems to be OK.

thanks

any ideas?

Re: Css wont show up on Firefox, IE OK

Posted: Sun Mar 15, 2009 9:16 am
by KO
Try validating your pages and stylesheets. Some strange tags there.

Re: Css wont show up on Firefox, IE OK

Posted: Sun Mar 15, 2009 11:01 am
by yosimi
Thanks for the reply KO.

The tags are added automaticly by godaddy. I removed the tags and tried again but nothing...
I haven't change anything on the site or structure and nor stylesheets, so they are fresh from the installation.

I just don't get it :)

any suggestions?

Re: Css wont show up on Firefox, IE OK

Posted: Sun Mar 15, 2009 11:38 am
by KO
Well I'm pretty sure that once you get rid of those tags at the end of the pages and stylesheets (so that those pages validate) you get rid that problem. Default install does not have them and I never ever had this problem out of the box.

I still think that first you have to figure out validation problem before any other suggestion. You should ask from GoDaddy that "what's up" with those tags.

Re: Css wont show up on Firefox, IE OK

Posted: Sun Mar 15, 2009 12:17 pm
by yosimi
Well i will..
i wish that this will solve the problem, since i really like this cms.
It looks very promising and easy to manage.

Thanks again KO.

i will update it once i got response fromgodaddy and try it without the tags.

Re: Css wont show up on Firefox, IE OK

Posted: Thu Mar 19, 2009 3:32 pm
by catmac
I'm having exactly the same problem.

I installed CMS made simple last year and up until recently it was fine:

http://isabelfay.com

Now the CSS isn't showing up in Firefox (although is fine in IE and Safari). Is this perhaps caused by a recent Firefox upgrade?

many thanks
Chris

Re: Css wont show up on Firefox, IE OK

Posted: Thu Mar 19, 2009 3:56 pm
by catmac
Further investigation shows that it seems to be because Firefox isn't recognising the URL:

http://[your site URL here]/stylesheet.php?templateid=23&mediatype=screen

as a valid filename for a CSS file.

Saving the contents of this file locally, renaming to "stylesheet.css" and then applying as a User stylesheet gives the fully-styled page as expected.

Is this a firefox setting that needs changing?

cheers
Chris

Re:[SOLVED] Css wont show up on Firefox, IE OK

Posted: Fri Mar 20, 2009 1:09 pm
by catmac
I have solved this problem.

Add the line

header('Content-type: text/css');

to the top of file stylesheet.php just after

<?php

I hope people find this useful.

cheers
C

Re: Css wont show up on Firefox, IE OK

Posted: Tue Jul 07, 2009 12:52 am
by AnnasCircle
I have the same problem
did not have it with previous installations...
The above solutions did not work ???
is there anything else can be done?

Re: Css wont show up on Firefox, IE OK

Posted: Sun Jul 12, 2009 11:12 pm
by yosimi
well it's been a long time but hey anyway
i saw that there is some posts here so i wanted to clear couple of things

the problem is how firefox reads the code.
I was testing the cmsms on godaddy free service which adds their own adds on top of the webpage.
Because of a wiered reason the godaddy ads on top of the page (as a frame "iframe") was not showing.
Well i was thinking that this is great. How ever what happens is when the php file created and the css sheets created sepaetly go daddy was adding their code to every single page which was broking the code and the css was not working on Firefox.
Yes it sounds wiered cause this is what you would expect from IE and not Firefox.
Lol

so if you are using godaddy free hosting, this might be your problem too.
cheers

Re: Css wont show up on Firefox, IE OK

Posted: Wed Jul 22, 2009 9:37 pm
by Dr.CSS
If you use godaddy free hosting you are running on an unsupported system...

Re: Css wont show up on Firefox, IE OK

Posted: Fri Jul 24, 2009 3:47 pm
by Pierre M.
Dr. CSS wrote: If you use godaddy free hosting you are running on an unsupported system...
and if you don't report issues with System Info etc we can't guess what is happening. See README FIRST.
BTW http://nodaddy.com/

Pierre M.

Re: Css wont show up on Firefox, IE OK

Posted: Thu Aug 20, 2009 5:26 am
by wms
Hi,

I could use some help on this one.

Just out of the blue today, all my (client) sites (and mine -webmadesimple.ca) had the above mentioned problem happen.  I was running on version 1.5.4 and was looking for some time to upgrade.  Hence, the time came today to try to solve this problem.  I'm running the latest version of CMS (1.6.4) and still have no CSS appearing in Firefox.  I've upgraded FF to the latest version as well and no such luck.  Every looks great in IE.

I've added the "header('Content-type: text/css');" line in the stylesheet.php, cleared all site and browser cache (serveral times), and still no CSS in FF.  I'm running off a host called LFChosting.com in Canada.  I've never had a problem like this before.  I've been with this host and cmsmadesimple for many years.

Any ideas would be very much appreciated.  I've had my clients starting to call already.  (I only have about 10 clients as I just do web stuff on the side, but needless to say, calls I don't want :'( ).

Thanks so much in advance for any help.

P.S.  F5 doesn't work in FF, but Crtl-F5 does.  But only per page.