IE looks good, Firefox and Netscape lose formatting (8 posts)

  1. RichH
    Posted 10 years ago #

    I have a new install on WP 1.5 at sellbetteronline.com where I am testing WordPress for my several websites.

    I've tried several themes, including default, which is currently in place (4-18-05). I have not modified the themes.

    Using IE, everything looks great, but formatting is lost in Firefox and Netscape 4.7. Most graphics don't even show up in FF or Netscape.

    (The Admin stuff also looks good in IE, not in FF.)

    I am able to view other WordPress sites correctly in my browsers, including the WordPress.org site.

    I installed to the root of the domain rather than a subdirectory directory. Could this be a factor?


  2. Lorelle
    Posted 10 years ago #

    Sounds more like a problem with browsers than with your site, if you can see it in MSIE.

    Here are some sources that might help you out:


  3. RichH
    Posted 10 years ago #

    Seems odd that the unmodified default theme wouldn't display in FireFox, considering that Firefox is promoted on the WordPress.org website.

  4. metabold
    Posted 10 years ago #

    Your problem is that some how your Firefox is not seeing the .css file as a CSS file.

    This error comes up in Firefox:

    Error: The stylesheet http://sellbetteronline.com/wp-content/themes/default/style.css was not loaded because its MIME type, "text/plain", is not "text/css".

    It looks like your mime type is messed up, it could be a server issue. Make sure you have a mime type for css:

    text/css css

    Also make sure you didn't use some sort of editor that changed the file type.

  5. Lorelle
    Posted 10 years ago #

    I don't know what you've done since the first posting, but it looks like it is now in the default theme (Kubrick) and I don't see any "graphics" that you were referring to. It looks fine, though I'm sure you will want to customize it to suit your needs. Hopefully, you're on the right track to fixing this.

  6. RichH
    Posted 10 years ago #

    That was exactly what I needed! Thanks!


  7. metabold
    Posted 10 years ago #

    Looks good now.


  8. RicInACloak
    Posted 10 years ago #

    as a previous poster said "like your mime type is messed up, it could be a server issue". Yes it is a server issue, if your server admin can not fix it, then you can do this...
    create a new file called xyz.css.php, which sets the file type

    header("Content-type: text/css; charset=utf-8");
    include ('xyz.css') ;
    and replacing
    link rel="stylesheet" type="text/css" ref="xyz.css"
    link rel="stylesheet" type="text/css" href="xyz.css.php"

    in your html / php page

    It should be mentioned that Firefox is actually behaving correctly (in that a file identified by its header as text, would not be expected to contain css) but is not being as fault tolerant as other browsers. However in my view, its about time we started producing quality html, insead of the junk that is often produced by some html editors. I look forward to seeing a wide adoption of strict xhtml.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.