When monkeys write code…

Today I had my first experience with a blogspot theme. A pretty violent experience. The whole thing is a combination of html + xhtml + css + dark matter + space dust. I was able to forget about colouring the code, about beatufying it and all that and ended up modifying it. A normal line [...]

@font-face, cufon or sIFR

… these are the three most basic and well known ways to use custom fonts on the Internet. Like any other thing, they have both advantages and disadvantages. @font-face This is one of my favourite features introduced in CSS3. Pros: easy to implement large variety of APIs easy to customise easy to add to elements [...]

Update that theme. NOW!

If you like to tinker around with the style of your theme a lot like I do, you will probably like this article. Our aim is to force the new style.css file over the old one the users’ cache has. You can do this the dumb-dumb way, the hard way, or the easy way. The [...]

Mark external links with CSS3 attribute selectors

So, you want to mark your external links the Wikipedia style? Well, you’ve come to the right place! The idea is pretty straight-forward once you understand the basic principle. The CSS attribute selectors There are 3 CSS attribute selectors I know of. These are begins with (^), ends with ($) and contains (*). The syntax looks like [...]

The anatomy of a good button

The basic principle is K.I.S.S. (Keep It Stupidly Simple). One of the first things you should remember is not to use buttons that are way too different for the normal, hover and active states. This rule comes to help your eyes. Also, for a sleek effect, you should use a gradient. The top colour should [...]