Zooiblog

Search the Zooiblog

Support this site.

Baaad practice!

Browsing web master communities, I often see site checks. But this one time, I was utterly shocked. Not by the design or the subject, but by the markup. The author of the site had tried to make a photo gallery. Now, what is the best way to do so?

You could think about <table>s, <li>s, <dl>s or even about <ol>s. But this man didn’t display the images. That is, they weren’t images in the markup. He had coded them in the CSS! Turning of your stylesheets resulted in nothing but 4 lists with empty items!

I was puzzled. Why? Why? Why? I figured it out pretty fast. He must have though about image replacement and the splendid use of background images with that, but took the completely wrong approach. I’ve coded an example of his use, and you will see how bad it is. baaad.html

To be honest, he was very near to perfect semantics. I whipped up a quick solution as to what it should be, and offer some alternatives. correct.html

Update: I’ve added alternatives with dls and tables. Check them out.

This article has its permanent page somewhere down here.

Har!

It’s TLAP today! Hurrah!

Oh, crap… *Cough* Aye, ye maties! T’day is Talk Like A Pirate Day! Har!

(Damn, my throat!)

The wait has started (almost)

I’m waiting. Eagerly. I’ve done a lot of work, but I still need it. But it isn’t out yet.
I want WordPress 1.3. And not only the system will change. I tried to keep the whole site in one piece, with the blog, index and forum looking the same. But it doesn’t work. First of all, this is my first site with CSS and XHTML – not everything is perfect, mostly far from it. Secondly, this design doesn’t fit me, nor does it fit my skillz.

I want 1.3, integrate the new layout, and surprise you. But there’s still a long way for me – I need a myriad of plugins and I have to structure it all, because I tend to hardcode everything.

Watch this space.

Update: For the ones really interested, here’s a little screenshot (indeed, it’s worth hardly anything).