Wicked Firefox CSS problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tagdance@gmail.com

    Wicked Firefox CSS problem

    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

    #2
    Re: Wicked Firefox CSS problem

    tagdance@gmail. com wrote:
    [color=blue]
    > Hello friends,[/color]

    Have we met? ;-)
    [color=blue]
    > I have a very interesting problem with my css files and firefox -
    > I guess !
    >
    > Listen:[/color]

    Reading..
    [color=blue]
    > 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.[/color]

    I've recently seen that on a site - forgot which one though. Only
    happened with the background though, not the rest of the CSS.
    [color=blue]
    > 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 ![/color]

    Yet ;-)
    [color=blue]
    > PS: It works when I load this css file from a different location.
    > Strange - isn't it ?
    >
    > Thanks for any ideas.[/color]

    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

    Comment

    • JP. Baker

      #3
      Re: Wicked Firefox CSS problem

      In article <1116504402.519 607.44260@o13g2 000cwo.googlegr oups.com>,
      <tagdance@gmail .com> wrote:[color=blue]
      >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 ![/color]

      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

      Comment

      • Chris Sharman

        #4
        Re: Wicked Firefox CSS problem

        JP. Baker wrote:[color=blue]
        > In article <1116504402.519 607.44260@o13g2 000cwo.googlegr oups.com>,
        > <tagdance@gmail .com> 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".[/color]

        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

        Comment

        • tagdance@gmail.com

          #5
          Re: Wicked Firefox CSS problem


          Chris Sharman schrieb:[color=blue]
          > JP. Baker wrote:[color=green]
          > > In article <1116504402.519 607.44260@o13g2 000cwo.googlegr oups.com>,
          > > <tagdance@gmail .com> 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".[/color]
          >
          > Yes.
          > Solution - have your hosting provider serve css files correctly -[/color]
          this[color=blue]
          > needs you to convince them that they're wrong ...
          > Workaround (failing the above) downgrade your doctype to make firefox[/color]
          [color=blue]
          > more forgiving (quirks mode), or find a better host.
          >
          > Chris[/color]


          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

          Comment

          • tagdance@gmail.com

            #6
            Re: Wicked Firefox CSS problem

            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

            Comment

            • Els

              #7
              Re: Wicked Firefox CSS problem

              tagdance@gmail. com wrote:
              [color=blue]
              > PS: yes we've met. It was in a newsgroup about css - wasn't it ?
              >
              > ;-)[/color]

              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

              Comment

              • PGScannell
                New Member
                • Jul 2006
                • 2

                #8
                Original post paraphrased

                > I have a very interesting problem with my css files and firefox -
                > I guess !
                >
                >
                > 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.[/color]

                I am having the same problem. Does Firefox have a different syntax for loading stylesheet files than IE???

                here's the code I use in the <head> section:

                asdfsfsfsd

                This works fine in IE -- has for years! I am just learning about Firefox that it is becoming a very popular browser. I was told that my website won't work with it. I tried myself and everyone is right! It doesn't work. In fact, none of the stylesheets are loading.

                Here's the URL: (non-framed:) http://www.kofcri.org/testMenus.asp
                Framed: http://www.kofcri.org

                here's how I load the stylesheets:

                <LINK REL ="StyleSheet " HREF="StyleShee ts\filename.css " TYPE="text/css" media="all">

                I have even tried the style of loading utilizing @import

                I have also tried the / character instead of the \ character in the HREF portion.

                Thanks,
                Paul

                Comment

                Working...