Archive for the ‘Link’ Category

Goodbye .clearfix, old friend.

Thursday, July 17th, 2008

You all know the old ‘floated elements inside a container cause the container to collapse’ problem?

Well, up until recently, I’d always just called on an old friend, .clearfix, and he’d sorted it out for me. I met .clearfix three or four years ago, and hardly a project has gone by since where I haven’t required his services. You know, I didn’t really ask him how he did it; he’d just quietly go about his job as I directed him, much like Michael Clayton, but without the gambling problem.

But yesterday, when I asked him to help out a colleague for me, little did I know I’d given him his last assignment.

Something happened early this morning – completely coincidentally. A little bird (or rather a tweet) came by and told me that, despite the fact Blueprint CSS uses .clearfix, .clearfix was no longer the way to go. And to be honest, it was almost a relief; the reason I’d never really asked .clearfix how he did his work was that deep down I knew that he was really a hack, and that if I just turned a blind (or ignorant) eye, then I could just pretend like everything was okay and we could all just carry on getting work done.

.clearfix is indeed inelegant, and really is a hack. And would you believe that the alternative solution is not so tricky…
Using overflow: auto; (or overflow: hidden;) on the container with a width will sort it all out for you.
Rather than explain it all here, I’ll just link to a few articles that have already put further effort into describing this:

So, farewell, .clearfix, you’ve served us well.
…and thank you, MB, for the enlightenment.

Download Day: Firefox 3

Wednesday, June 18th, 2008

Need I say more? Go and get it!

Another blog

Tuesday, May 6th, 2008

We’ve set up another blog, primarily for the purposes of chronicling our overseas escapade, but Michelle also likes to talk about the garden and stuff. Check it out.

Frameworks. CSS and otherwise.

Monday, November 19th, 2007

Jeff Croft hosts a hornets’ nest of a debate over the use (or not) of frameworks in web development.

It may pay to first read his previous post on this topic. And probably Jeff’s article on frameworks that he wrote for A List Apart.

Mintshop? Mintchop?

Thursday, November 15th, 2007

Some canny chap has caught onto the Mintshot hype, and has bought up mintshop.co.nz, mintchop.co.nz and mintshots.co.nz. The video clip he’s showing is a bit of a laugh!

Tricky stuff.

Refurbished iPhones

Tuesday, September 11th, 2007

So it looks like you can buy refurbished iPhones from Apple. (and here’s the 4GB).

[...thanks Cameron]

itso

Wednesday, September 5th, 2007

What’s an ‘itso’?

Jeff Croft: web standards vs. Web Standards

Wednesday, August 29th, 2007

Jeff Croft has his head screwed on properly; I can’t find anything in this post of his that I don’t agree with.

An unfortunate product name

Wednesday, August 29th, 2007

I thought this was an attempt to be clever, but no, it’s an actual product name.

Tweetr 2.0

Tuesday, August 14th, 2007

John has released Tweetr 2.0. Now with file transfer!