January 11, 2008
The Hacker s Diet Online: Paper log generator

This is a small and simple project, but no task is too modest not to be torpedoed below the water line by the pathetic joke Microsoft purports to be a Web browser. The log form document displayed and printed correctly on the first try with both Mozilla Firefox (2.0.0.11) and Opera (9.25), but with both Internet Explorer 6 and 7 the rules beneath the items in the forms did not display. This turned out to be due not to one but two bonehead blunders in “The Moron's Choice™ for Browsing the Internet”. First of all, if you don't specify the colour of a border, it's supposed to default to the foreground colour of the element to which it is applied: in this case black. So what does Microsoft do? White, of course (or transparent, or some equally idiotic choice). After all, if the document specifies a border, isn't it obvious that most page designers will want it to be invisible? But specifying a colour of black for the borders still didn't make them appear! It turns out that for another of the incomprehensible reasons which spout from Redmond like a sewage geyser, if the content of a table field is void, a border-bottom specification is ignored—that makes sense, right? (And no, the empty-cells and border-collapse properties have no influence on this idiotic behaviour.) I ended up having to fill every underlined field in the table with an “ ” which was sufficient to persuade Bobo the Bonehead Browser to draw the border beneath it.

This man is my hero... go read it all to find out why.