I installed WordPress, moved the index.php to the root directory, got it working, and restyled the stylesheet. I now find that the styles are not displaying in Mozilla or Firefox (they're fine in Opera and IE 6). I've tried plenty, but cannot seem to sort this out.
http://developedtraffic.com/
http://developedtraffic.com/wordpress/wp-layout.css
Any faintest clue of what I've botched here?
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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
with:
<!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.
Anonymous
Unregistered
Posted 8 years ago #
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 http://wordpress.org/support/3/590 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:
http://archivist.incutio.com/viewlist/css-discuss/20920
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.