Search the Zooiblog

Support this site.

Fixed positioning and backgrounds

The fixed positioning of backgrounds is a nice technique and it adds some perspective to the page. But play around a bit, and the results are pretty amazing.

How does that work then?

First of all, keep in mind that IE does not get position: fixed. And that’s the real trick in this. But it won’t work as it should as I use PNG (yes, <abbr> as I pronounce it as pee-en-gee). There are numerous workarounds though.

When you use backgrounds on elements, you can give them a certain position, just as with any other element. You can position it fixed as well, which is pretty neat. The background stays where it is on the viewport, and that’s an important element. This allows you to do some crazy shit.

Now, this one is not so much of teaching you stuff, but I think this does show what is possible when you use the elements HTML and BODY for independent backgrounds. I shall try and post up some examples soon of what else you can do with these techniques.

Now, here it is: it does not work in IE. Devnull’s method seems to work, and there’s also a PNG hack. If you like, you can have it work in IE. Whatever :) Also, don’t start at me about its looks: it’s just a proof of concept, nothing more.

Do tell me if things break, and make sure to check it on IE for laughs.

Firefox poster troubles

Ordered a Firefox 1.0 poster and didn’t receive it? Colin didn’t. To echo his thoughts, I think it deserves attention. This action was something that deserves more attention than just the ad itself.

1.5 and sp-m

(No, this is not a post concerning the sp-m-proofness of WP 1.5.)

Updated to WP 1.5 today. It’s good stuff. That’s all, really.

Then, just half an hour ago, the sp-mmers started again. I fucking hate them. Can someone please, please shoot them? This is just… Aaargh!

To start a bit of discussion and to see if the comments still work now I have both the Sp-minator and Sp-m Karma enabled: would you mind a forced comment preview, a la the validatienazi? And while we’re at it, should I resort to Pingback to handle the inbound links stuff? Trackback sp-m is killing me. Please do share.