This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > May 2005 > Wicked Firefox CSS problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Wicked Firefox CSS problem
tagdance@gmail.com

2005-05-19, 7:27 pm

Hello friends,

I have a very interesting problem with my css files and firefox -
I guess !

Listen:

I have set up my new website www.tagdance.de
For testing purpose I have mirrored this site under
www.suedafrika-kapstadt.com, where it looks lovely with all browsers.
When finished I took the whole site and uploaded it to www.tagdance.de.

Its ok with IE and Opera. But with firefox - no css !
The page is blank - just plain text - no formats !
BUT: I have an extension for firefox (cssedit). When I switch on the
extension-view to display the css-code - ups - there you go - the page
is reloaded with the correct formats and all is fine!
When I turn the css editor in firefox off - my design dies again.

Im not shure weather this is a css, firefox or server-problem, as I
have other sites with css on this machine and they work well.

I could bet no one knows an answer !

PS: It works when I load this css file from a different location.
Strange - isn't it ?

Thanks for any ideas.


Mark

Els

2005-05-19, 7:27 pm

tagdance@XXXXXXXXXX wrote:

> Hello friends,


Have we met? ;-)

> I have a very interesting problem with my css files and firefox -
> I guess !
>
> Listen:


Reading..

> I have set up my new website www.tagdance.de
> For testing purpose I have mirrored this site under
> www.suedafrika-kapstadt.com, where it looks lovely with all browsers.
> When finished I took the whole site and uploaded it to www.tagdance.de.
>
> Its ok with IE and Opera. But with firefox - no css !
> The page is blank - just plain text - no formats !
> BUT: I have an extension for firefox (cssedit). When I switch on the
> extension-view to display the css-code - ups - there you go - the page
> is reloaded with the correct formats and all is fine!
> When I turn the css editor in firefox off - my design dies again.


I've recently seen that on a site - forgot which one though. Only
happened with the background though, not the rest of the CSS.

> Im not shure weather this is a css, firefox or server-problem, as I
> have other sites with css on this machine and they work well.
>
> I could bet no one knows an answer !


Yet ;-)

> PS: It works when I load this css file from a different location.
> Strange - isn't it ?
>
> Thanks for any ideas.


What happens if you take the <!-- and --> comment indicators out from
the style block?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: The Scene - Geef Nooit Op
JP. Baker

2005-05-19, 7:27 pm

In article <1116504402.519607.44260@o13g2000cwo.googlegroups.com>,
<tagdance@XXXXXXXXXX> wrote:
>Hello friends,
>
>I have a very interesting problem with my css files and firefox -
>I guess !
>
>Listen:
>
>I have set up my new website www.tagdance.de
>For testing purpose I have mirrored this site under
>www.suedafrika-kapstadt.com, where it looks lovely with all browsers.
>When finished I took the whole site and uploaded it to www.tagdance.de.
>
>Its ok with IE and Opera. But with firefox - no css !


Javascript console:

Error: The stylesheet http://www.tagdance.de/tagdance.css was not
loaded because its MIME type, "text/xml", is not "text/css".

John
--
John P Baker
Chris Sharman

2005-05-19, 7:27 pm

JP. Baker wrote:
> In article <1116504402.519607.44260@o13g2000cwo.googlegroups.com>,
> <tagdance@XXXXXXXXXX> wrote:
>
> Javascript console:
>
> Error: The stylesheet http://www.tagdance.de/tagdance.css was not
> loaded because its MIME type, "text/xml", is not "text/css".


Yes.
Solution - have your hosting provider serve css files correctly - this
needs you to convince them that they're wrong ...
Workaround (failing the above) downgrade your doctype to make firefox
more forgiving (quirks mode), or find a better host.

Chris
tagdance@gmail.com

2005-05-19, 7:27 pm


Chris Sharman schrieb:
> JP. Baker wrote:
>
> Yes.
> Solution - have your hosting provider serve css files correctly -

this
> needs you to convince them that they're wrong ...
> Workaround (failing the above) downgrade your doctype to make firefox


> more forgiving (quirks mode), or find a better host.
>
> Chris



YES YES YES Boys ! Thanx a lot. The mime-thing was the deal !
The hint with the crappy host was fine (the host is me - its my server
- so it was easy convincing him)
Its one of my first machines running win2000 and oreilly website.
Changed it into text/css and now its working.
Thank god I dont have to install a browser-switch and redesign 1200
pages for firefox ;-)

Thank you all - Mark

tagdance@gmail.com

2005-05-19, 7:27 pm

Hi Els,

thank you for your comments and suggestions. I have tried it out. Also
with no brackets - no go.
It was the server-side mime-type thing.

But thank you very much.

PS: yes we've met. It was in a newsgroup about css - wasn't it ?

;-)

Thank you again Mark

Els

2005-05-19, 7:27 pm

tagdance@XXXXXXXXXX wrote:

> PS: yes we've met. It was in a newsgroup about css - wasn't it ?
>
> ;-)


eh.. that would be /this/ newsgroup then <g>

Certainly wasn't as "tagdance" then? Quite difficult to recognize
people on a text based medium if they change their handle :-)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Jackson Brown - Load Out/Stay
JP. Baker

2005-05-20, 7:38 pm

In article <1116504402.519607.44260@o13g2000cwo.googlegroups.com>,
<tagdance@XXXXXXXXXX> wrote:
>Hello friends,
>
>I have a very interesting problem with my css files and firefox -
>I guess !
>
>Listen:
>
>I have set up my new website www.tagdance.de
>For testing purpose I have mirrored this site under
>www.suedafrika-kapstadt.com, where it looks lovely with all browsers.
>When finished I took the whole site and uploaded it to www.tagdance.de.
>
>Its ok with IE and Opera. But with firefox - no css !


Javascript console:

Error: The stylesheet http://www.tagdance.de/tagdance.css was not
loaded because its MIME type, "text/xml", is not "text/css".

John
--
John P Baker
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews