{"id":183,"date":"2002-08-22T23:23:16","date_gmt":"2002-08-22T23:23:16","guid":{"rendered":"http:\/\/sunpig.com\/mt-entry-183.html"},"modified":"2006-09-23T19:30:11","modified_gmt":"2006-09-23T19:30:11","slug":"mozilla-and-style-sheets","status":"publish","type":"post","link":"https:\/\/sunpig.com\/martin\/2002\/08\/22\/mozilla-and-style-sheets\/","title":{"rendered":"Mozilla and style sheets"},"content":{"rendered":"<p>Oh, bum.  While I was doing the site redesign, I was running the code off of my local machine.  Then I tried the bits out on the Sunpig web server, and everything looked OK.  <em>But only because I hadn&#8217;t tried it out in Mozilla.<\/em><\/p>\n<p>I used Mozilla to look at the new designs this evening, and lo! No CSS styles were being applied.  At first I thought the stylesheet was broken somehow, and than Mozilla was therefore ignoring it completely.  Nope.  Then I tried every combination of attributes on the &lt;link&gt; tag to see if that was making a difference.  Nuh-uh.<\/p>\n<p>Google to the rescue.  I found <a href=\"http:\/\/www.brain-stream.com\/about\/site\/\" title=\"Brainstream\">this page<\/a> (on brain-stream.com), which highlights the real issue: my web server is serving up CSS documents (.css) with a MIME type of &#8220;text\/plain&#8221;.  And Mozilla doesn&#8217;t like that.  Damn.<\/p>\n<p>And the solution that is outlined won&#8217;t work for me, because I don&#8217;t own the server, and therefore don&#8217;t have access to the Apache httpd.conf file.<\/p>\n<p>On the positive side, it showed quite satisfactorily that even without the stylesheet, the Sunpig site is still eminently readable.  So the <a href=\"\" title=\"Design Decisions, part 1\">design decisions<\/a> I made paid off.  Yay!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oh, bum. While I was doing the site redesign, I was running the code off of my local machine. Then I tried the bits out on the Sunpig web server, and everything looked OK. But only because I hadn&#8217;t tried it out in Mozilla. I used Mozilla to look at the new designs this evening, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/sunpig.com\/martin\/2002\/08\/22\/mozilla-and-style-sheets\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Mozilla and style sheets&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-183","post","type-post","status-publish","format-standard","hentry","category-techie"],"_links":{"self":[{"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/posts\/183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/comments?post=183"}],"version-history":[{"count":0,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/posts\/183\/revisions"}],"wp:attachment":[{"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/media?parent=183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/categories?post=183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/tags?post=183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}