Support » Fixing WordPress » CSS not displaying in Mozilla

Viewing 6 replies - 1 through 6 (of 6 total)
  • Okay, I’ve come up with something. First, the versions of PHP version mySQL are adequate to run WordPress (and, in fact, it *is* functioning). Mozilla/Firefox will display per the stylesheet if I replace the current DTD:
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “”>
    <html xmlns=””>
    <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
    So, what happens if I do this? I assume the PHP will parse, but will the RSS feeds no longer work, will I be thrown out of the “hip enough to use xhtml” club or something else drastic?
    Sorry; it’s been a long day trying to debug this.

    No one will throw you out.
    If it makes it work, do it and go to bed and sleep on it. I took a quick peek and see no reason for this not to be loading your CSS.
    I do, however, imagine it is a server side problem with getting/sending the CSS file.
    What it is though, I haven’t the fainest idea. :-\ Sorry.

    Interesting, since no other sites on the server have this difficulty. Nor, apparently, do other WordPress blogs.
    I’m *assuming* that changing to the 4.01 DTD will not affect the RSS feeds. True?
    Thanks; I will sleep on it, and hope to come up with a workable answer, as I do like the coding. Thanks again.

    Your stylesheet is served as Content-Type: text/plain, which seems to be the problem.

    See also for one way to solve this.

    By coincidence, I just learned the same thing.
    On our virtual private server, the MIME types are controlled by a file called mime.types, which is in the same directory as the httpd.conf file.
    Found the precise coding here:
    Add this to the mime.types file:
    text/css css
    then restart apache.
    Presto, fixed.
    Thanks a million for your help. I do so love WordPress.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘CSS not displaying in Mozilla’ is closed to new replies.