CSS Bug: box-sizing and min-height

, , ,

One thing I’ve (fairly) recently discovered (courtesy of Paul Irish) is the use of box-sizing in CSS3. This little nugget of CSS joy allows you to set element dimensions regardless of padding and borders. In some situations, this is invaluable. For example: say you want to have a container that’s 100% wide but has padding of 20px around the edges. Without knowing what the size of the screen is, you can only do this via javascript or by creating a wrapping container, both of which are annoying. With box-sizing, you can set the padding to whatever you want and it’ll still size perfectly to 100%. Wonderful! Isn’t it?

Read More »

The Future of Gaming

,

In the past we’ve seen a plethora of devices and platforms used in an ever growing games market. PCs and consoles were quickly followed by handheld devices such as Nintendo DS and Sony PSP, and now we’re seeing an upward trend towards more web-enabled devices; phones and tablets etc. Games are overtaking films in generating revenue, so competition is rife and there’s a great need for companies to remain ahead of their rivals and push for the next big step forward. It is my firm belief that the next step forward for gaming lies not only on the web, but in the browser.

Read More »

Mobile Webapp v Native App

,

Recently I’ve been involved in a project to create a mobile website and accompanying mobile application. The question was immediately raised – “should we write a webapp or go native?” This seems to be a topic of much debate at the moment with pros/cons for either approach. For what it’s worth, here is my opinion based upon the experiences of myself and those around me.

Read More »