Blog posts from April 2007

CSS for poker players

I've just read an excellent explanation of CSS Specificity using a poker analogy and it just makes it so clear to hear it like that. The author covers everything in terms of the basic hands available in a game of poker. This can help explain some of the many mysteries of CSS!

Carl wrote:

Some folks getting on board with CSS tend to get stuck on CSS specificity. The descriptions of which rules override other rules tend to make more sense to programmers than designers, since programmers are used to the concepts of inheritance and overriding properties.

If you're not from the programming world and CSS seems a bit confusing, perhaps this analogy may help clear some concepts up. Think of CSS rules as poker hands. The best hand determines an element's style.

Posted on Sat 14th April, 2007 in , and with 1 comment

Deskop Tower Defence

Desktop TD is a flash based TD game, that pays homage to a few Warcraft 3 tower defense maps. You have to stop your enemies, or 'creeps', from travelling all the way across the screen. Tower pieces can be purchased and placed on the map to kill the creeps before they make it across.

Posted on Sat 14th April, 2007 in , and with no comments

Accessible Display: None

Nathan Smith explains the problems with using selector { display: none; } to hide content on a page and suggests a better alternative selector { display: block; overflow: hidden; width: 0; height: 0; }.

Posted on Fri 6th April, 2007 in , , , and with no comments

CSS Naked Day 2007

MilkHub will be getting naked on Thursday (5th April) along with potentially hundreds of other site owners. Over 750 sites took part last year!

Why?

It's all to show off website accessibility. A user should be able to use your website with no styles on, essentially what a blind user would see (or hear).

How do I get involved?

If you want to show your interest head over to the CSS Naked Day website and signup. Then on Thursday turn off all of the stylesheets on your site for 24 hours.

Posted on Mon 2nd April, 2007 in , , , , and with 1 comment

Showing 1 to 4 of 4