Archive for March, 2006

Defeating the intolerant Internet Explorer

Today, I got complaint after complaint about the page showing up funny for some people. This is, all of them were using Internet Explorer. Since I don’t even use a PC, I didn’t know there was a problem. But, because I love you people so much, I thought I’d take a look at what was going on, and fix it.

Three hours later, I couldn’t figure out how come Opera, Firefox, and Safari had no problems rendering the page correctly, yet IE made such a mess of it. After finding out that my CSS technique was fine, I started to think that maybe this was only an IE bug. I mean, Internet Explorer 6 is so new, and from such a small, struggling company.

But I did find, going through my own code, a little trick somebody else found. If you stick an asterisk in front of the code statement, it won’t show up in IE 6 or earlier. I think. I dunno. But here’s what mine looks like:

* blockquote {
color: #a54200;
font-size: smaller;
font-style: oblique;
margin: 15px 25px 0 15px;
padding-right: 15px; padding-left: 7px;
border-left: 5px solid #f99d1b;
}

Yes, the <blockquote> tag was the problem. For some reason, the only thing you need to destroy the layout of your page (or, as I’m told, crash IE) is to have this extremely complicated statement in your CSS:

padding: 1px 2px 3px 4px;

Yes, I know, that’s it. It’s mind-boggling, but IE chokes on that. And has, for a long, long time. Not to worry, however, with my IE hack, you get a different <blockquote> tag. Yay!

Well, not all yay!, just yet. Sure, now IE will display a non-page-layout-destroyerating blockquote, but how do I get that lovely-looking blockquote that you’ve all come to love and enjoy in browsers that have a rendering engine from after 1997? More hacking.

Luckily, again, another somebody else figured it out. The trick is to stick some formatting in there that a modern browser could figure out, but not…you know…

The hack is to stick head:first-child+body [statement] in front of the code you want to hide from IE 6 and below. It also works on Opera 6 and below, and I’m not sure if anybody’s still using that one, since 8 is out now, and 9 is coming. Huh, getting off version 6…what a nice idea…

Anyways, in my example, I’ve got head:first-child+body blockquote { in there, shielding the code from IE’s page-messer-upping ways:

/* the Owen hack -- http://www.albin.net/CSS/OwenHack.html */
/* the following selector is NOT seen by Opera 6 (and below) or by IE6/win */
head:first-child+body blockquote {
color: #777;
font-size: inherit;
font-style: normal;
background-color: #f9f9f9;
margin: 15px 25px 0 20px;
padding: 3px 15px 3px 20px;
border-left: 10px solid #f99d1b;
}

So, I’m happy. Well, until the next bizarre IE bug shows up from IE 7. Which should be happening in 5…4…3…

Google deletes another Blogger account

This time, however, it’s a rather important one. No, not Escaton, Alliance of the Anonymous, or even Chewbaccas blog (although they should totally delete this posers)…

No, Google deleted…the Google Blog:

The Google Blog was unavailable for a short time tonight. We quickly learned from our initial investigation that there was no systemwide vulnerability for Blogger. We’ll let you know more about what did happen once we finish looking into it.

Update: We’ve determined the cause of tonight’s outage. The blog was mistakenly deleted by us (d’oh!) which allowed the blog address to be temporarily claimed by another user. This was not a hack, and nobody guessed our password. Our bad.

Maybe we should be a little less afraid of them being our oppressive overlords now.

Anybody but Duke

dukesad.jpg

lsuhappy.jpg

Okay, so I was grumbling to myself about how the person I used to refer to as “my father” has turned into a Duke fan. He was watching them, and I thought to myself, “boy, LSU looks good tonight.”

But, hey, it’s Duke. They don’t lose, right? Right?

Sigh. I love it when they lose…

FOR THE CARDINALS?!?!?!?

Edgerrin James is an idiot.

I never thought so, before, but now I have proof.

Have fun going 4-12, buddy.

The were so ahead of their time

MST3K from around 1993. Still applicable.

I like Live.com

I know it’s going to sound insane…but I like Windows Live. I’m being serious.

Right now it’s in really rough beta, but I really see how this is the Next Big Thing™. Good or bad, this is what the Web 2.0 is all about. If they could just get it to work with Safari.

Or Internet Explorer 6.

Or even Internet Explorer 7, for that matter. It works fine in Firefox.

Pixoh

Ever wanted to stick a picture on your site, but you didn’t have the ability to make it fit? Or, you wanted just a part of it, but you don’t have any fancy image editing tools? I’ve got something to help you out.

Pixoh

It’s called Pixoh. Like everything else that’s Web 2.0, it’s in Beta right now, but you can do a lost of stuff to the pictures that you couldn’t work with any other way:
• Import pictures from any web site (including Flickr) with our bookmarklet
• Flickr export, or save as JPG, PNG, PDF, TIF, or PSD
• Basic editing tools like crop, rotate, resize
• Many more are in the works
• Unlimited undo and redo (Control-Z and Control-Y)

You don’t know how many times I’ve had to resize something for somebody, or show them how to code it in a way to make it smaller. With this, I don’t have to do a thing, you can do it all yourself. Now you know.