I can’t figure out why the PNG transparency wont apply to the artwork in my previous “Redesign Chronicle” when viewing the post in IE6 — despite the fact that I’m using Dean Edwards IE7 script and the files end in -trans.png. Arrrgh!
Update: I’ve cracked it! Turned out that it was the PNG files themselves. The illustrations were drawn with Inkscape as vector graphics (SVG to be precise) and rasterized as PNG with the softwares own bitmap exporter. However, Inkscape seem to produce PNG files that Internet Explorer doesn’t like and the transparency bugfix can’t do anything about. But the solution was simple: just open each PNG file in Gimp and re-save it. Of course, I could also have opened each SVG file in Gimp and saved the PNGs from there.
To quote Kenneth Himschoot:
Our W3C, which art on the net:
Hallowed be thy markup.
Thy workingdrafts come.
Thy Specs be done in Mozilla as they are in Opera.
Give us this day our daily XHTLM and forgive us our hacks and workarounds, as we forgive all tablebased designers.
And lead us not to invalid code but deliver us from IE5.
Amen.
September 21, 2006 – 22:07
Matt Mullenweg’s business card allegedly instructs people just to enter “Matt” and hit “I’m Feeling Lucky” to get to his site. Well, now I can instruct people to enter “Ironicist” and hit “I’m Feeling Lucky”… should I dare to say that it feels “ironic”?
September 19, 2006 – 17:12
I just finished implementing the Verhoeff checksum algorithm in PHP, you can download it as verhoeff.zip. Yes, mathematically it’s a bit more elaborate than other checksum algorithms, but with look-up tables it’s fairly simple and lightweight.
The implementation provides two functions calcsum($number) and checksum($number). The first one return a check digit for the decimal number used as argument, just append the returned digit to the number and you got yourself a checkable number. The second function checks the number (including the appended check digit) used as argument, the number is only valid if the function return zero.
I noticed a small bug due to a misplace modulus (simple PHP syntax typo), the verhoeff.php is now updated, tested and in working order. The bug only affected the calculation of check digits, not the check function.
September 18, 2006 – 18:38
I’m currently working on an article that make use of some math notation. Normally, in such cases, when you need something out of the ordinary that can’t easily be marked up as XHTML you render an image (yes, I know about MathML). It’s quite easy to render beautiful math formulae off-line. But making the round-trip out of WordPress can also be quite annoying, especially if you do a lot of tweaking and I normally do a lot of tweaking.
Read the full story
A couple of days ago I stated that I hadn’t yet begun looking for a navigation link plugin for WordPress yet, because I imagined that I could write one just as quickly myself rather than sift through a zillion plugins that all do the same thing in addition to suffering from bad cases of optionitis.
But I didn’t exactly start to write a plugin after I penned that. Nor did I start to look for one.
Until today. Writing one that is.
Read the full story
Over the last couple of weeks I’ve been posting very long (sometimes too long that I had to split them up in several posts) articles, that I wrote ten years ago, over at my swedish site. That mean lots of content, paragraphs and headings split up over five or ten pages per post. So I was in desperate mode to create table of contents to ease navigation and provide better overview for my visitors.
Read the full story