HATE.I’ve been reading up on

HATE.
I’ve been reading up on CSS, and have learned that the elite thing to do is to use a CSS2 command to include your stylesheet. This will get you perfect results in good browsers, and fail non-catastrophically on bad browsers, and there’s even a way to make the lack of the stylesheet display an error message telling people to get a better browser.

Giddy with joy at the thought of not having to worry about Netscape 4 ever again, I modified www.km.org to use this code, only to have it fail in Mozilla. But it works perfectly in IE. Something is wrong here.

A few hours of research later, and I have confirmed my suspicion that there is nothing wrong with Mozilla that would prevent including stylesheets. Therefore, it must be something about the server. So, curious about whether or not this could be something to do with the funky server configuration we have with the killingmachines.org domain, I copied the stylesheet into my ~scott folder, and pointed the include links there. Suddenly Mozilla works perfectly.

AAAAAGH. Somehow, Mozilla is thrown off by our server to the point where I cannot include stylesheets from the same directory! This doesn’t make any sense at all, and it infuriates me even more to know that IE is able to ignore it. I HATE HATE HATE obscure strange undocumented bugs like this.


9 Comments on “HATE.I’ve been reading up on”

  1. miles says:

    Hmm. I had a similar problem… it’s probably not anything the browser writers would consider a bug, being that this behavior isn’t covered by the HTTP standard, but it went something like this:IE recognizes pages according to the URL string you use to get there, so:www.bob.org/is DIFFERENT fromwww.bob.org/index.html… even though they go to the same page. Netscape recognizes that they’re identical. I forget what the exact problem I had was, something with caching.

  2. scott says:

    crazy…Yeah, I suspect what I’m seeing is not a bug in Mozilla, but simply that IE is a little more slack in obeying whatever server rule is in effect here, while Mozilla is obeying the letter of the law, and therefore causing me problems.

  3. urn says:

    Relax, Scott… Breathe… [soothing motions with hands ensue]I understand why you’re upset, though. Someone wise ;) once said “Without rules, we’d all be a bunch of tree-dwelling crap-flingers.”

  4. Jeremy says:

    Welcome to the undocumented, annoying world of web design, although I seriously doubt that I need to give you an introduction.The only thing that’s pissing me off right now is Opera’s lack of competent support of CSS2. Everything else works fine! Well, until I learn PHP, anyway…Jeremy out.

  5. Mr. Bread says:

    I also have a bizarre semi-CSS related problem:The custom colors for my brown color scheme (http://mrbread.killingmachines.org) were selected using the “select custom colors” option on Homesite 4.0, which is my html editor of choice.Strangely, while the bizare hex-code background color is supported on IE and Netscape, all the versions of Netscape I’ve used to look at the page display the custom tan and browns that I use for the text as very bright shades of green.The difference with me is that I don’t care enough about Netscape users to try and solve the bug.

  6. scott says:

    hahaha that’s hilarous!However, the difference between you and I isn’t so much that I care about Netscape users and you don’t, as it is that I am a paid web designer whose job and passion is web design, whereas you are not. ;)I’m not sure who’s got the better situation…

  7. scott says:

    If it interests you at all, I believe the root of the problem is that Netscape 4 and earlier didn’t apply the full color range to text, so if your text color didn’t fit into a certain rage of predefined web colors, netscape would try to assign it to the nearest web color. However, I’ve never seen this tactic fail quite so spectacularly or in such a colorful manner before…

  8. urn says:

    I find your punful use of “colorful” cheap and painful. I want you to die.

  9. Mr. Bread says:

    Yeah, the flip side to all of this is that, after using these colors on my webpage for several months prior to adapting the design to my journal, I’ve decided I like them the way they display on Netscape.They give off a whole “Mr. Bread is Weird” vibe that’s really different from the vibe I normally aim for.