I'm terrible at sports

and now I know why. It’s all my birthday’s fault.

It’s nice to be able to put that to rest. whew.

Posted in sports | 1 Comment

wordpress, css, and images

So, a while back I switched from using a hand-written (in PHP) theme to using this awesome little piece of code that generates a semantically useful page that can then be CSS styled. On another site still under development, I wanted to use a graphical header, but without changing the header.php. My thought immediately turned to FIR, a CSS trick to use background-image and display: none; to show an image in place of text.

The problem was two-fold. One, you still have to modify the template a little bit, and two, FIR is actually worse for its stated purpose (exposing text to screen readers while showing the graphic to most users) than a simple image + alt tag.

The new solution, as outlined here, here, and here is to play text overflow games to make the text disappear, use CSS height and width to make the element otherwise match the image size, and use background-image to show the image. For some reason, I couldn’t get the image center without making the header 100% width which is fine for my site but might not work for you. Use the image height as the height: below.

Here’s the CSS code I’m using to make this work in a sandbox skin:

#blog-title a
{
        width: 100%;
        height: 84px;
        display: block;
        align: center;
        background: url("/header-image.png") top center no-repeat;
        border: none;
        text-indent: -5000%;
}
Posted in meta, tech | 1 Comment

Funny stuff

Tom Wilson, who played Biff in the back to the future movies, has a little ditty for you:

From: Michael & Evo

Link: Keith Garner

Posted in random | Leave a comment

"Hey dada?"

“Yeah?”

“I have a loose tooth!”

“AWESOME!”

Posted in random | 1 Comment

White House: Iraq is bad for War On Terror

TalkingPointsMemo.com
“[The National Intelligence Estimate] assesses that a variety of factors, in addition to Iraq, fuel the spread of jihadism”

Posted in politics | Leave a comment

Javascript IDE

Jon Henning points out Aptana, which looks to be a pretty slick, free, javascript IDE.

Definately on my list of things to check out.

Posted in tech | Leave a comment

WordPress + Atom 1.0

Atom is better than RSS. Much much better.

WordPress, however, only supports the sucky old deprecated Atom 0.3.

So, you should use this plugin to change your wordpress blog to serve up only Atom 1.0 (and no RSS whatsoever).

It’s cool! do it!

Posted in meta, tech | Leave a comment

Fuck the NCAA?

Ok, I call shenanigans.
Continue reading

Posted in baseball, football, sports | 4 Comments

This is the week where everything pisses me off

If you’ve been waiting to piss me off, well, wait no longer! Strike while the iron is hot!

Posted in meta | 5 Comments

New theme

Ok, I wrote a theme a while back that kinda sucked, so I just packed it in and am using the new sandbox theme. It’s highly recommended, and easy to customize.

Posted in meta | 3 Comments