ok so those warningnotice.com spam calls have merit. just don’t send them money or deal with them at all.
RT @Malarkey Announcing “Universal Internet Explorer 6 CSS”: http://forabeautifulweb.com/s/239 (interesting solution to the ie6 problem)
I’ve been using jQuery in a recent project, and one of my tasks was to parse an RSS feed that contained non-default namespaced XML. For reference, the XML went something along these lines:
<rss version="2.0" xmlns:custom="http://www.custom.com/namespace/rss">
<custom:date>Apr 9, 2009</custom:date>
Apparently, jQuery has more than a few issues with XML namespacing. The commonly-mentioned solution is to use a selector like
$(this).find('custom\\:date'), with the double-backslash escaping the colon. This worked fine in IE7+, FF3+, Safari, Chrome and Opera, but not in FF2.
After banging my head against a wall for a bit, and after reading one more post (credit: Michael Lawson) on the subject, I realized
nodeName could be treated as an attribute to traverse the XML DOM with the
find() method. So, without further adieu, a selector for a non-default namespace XML attribute that works in FF2:
custom:date with your namespaced attribute of choice. Note that this probably doesn’t work in IE6, but every-modern-browser-but is still pretty good.
Please, please view this one for yourself. This site is using Wordpress 2.6.1, but it looks like whoever created the page decided they needed to infuse it with a little more character. And by character, I mean pre-CSS character. Here’s a glimpse:
<fontcolor=999999>. . . . . . . . . . . . . . . . . . . . .</font>
That’s what substitutes for a dotted border. Kind of expected. But “fontcolor”? Almost every instance of the font tag on the page is replaced with “fontcolor” (and closed with /font, to be fair)!
I know it seems like I’m nitpicking, but this is simply another reason why people who don’t know how to craft standards-compliant front-end code need standards-compliant WYSIWYG editors (Dreamweaver CS4? Are you it?).
I love reading The Daily WTF. That said, I’ve always wanted a place to capture some of the more intense coding WTF’s that popped up in front-end coding, i.e. (x)html, css. So I’m going to start logging them here as “Epic Coding Fail”s, until I think of a better name for them.
I recently read about Miss Louisiana Teen USA, Lindsey Evans, losing her crown after a dine-and-dash gone awry. A Google search of her led me to some more articles, and eventually to the Miss Louisiana USA / Teen USA website. At first glance, it looked like a typical Flash-centric, amateur-designed site. Amateur in a studio-from-the-90’s way, you know? Clicking around, I came upon this gem on the Video & Photo page:
That’s right: a bootleg horizontal rule. It made my day (in a very small way).