WordPress.org

Support

Support » Installation » IE looks good, Firefox and Netscape lose formatting

IE looks good, Firefox and Netscape lose formatting

  • 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?

    Rich

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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:

    http://codex.wordpress.org/Blog_Design_and_Layout
    http://codex.wordpress.org/CSS_Fixing_Browser_Bugs
    http://codex.wordpress.org/CSS

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

    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.

    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.

    That was exactly what I needed! Thanks!

    Rich

    Looks good now.

    David

    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

    -----xyz.css.php----
    header("Content-type: text/css; charset=utf-8");
    include ('xyz.css') ;
    --------------------
    and replacing
    link rel="stylesheet" type="text/css" ref="xyz.css"
    with
    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘IE looks good, Firefox and Netscape lose formatting’ is closed to new replies.