Categories
Code Tech Web

CSS3: Rounded Table Corners (No images)

You cannot give a whole table (<table>) rounded corners using CSS, browsers will ignore it, you must round the corners of the cells (<td>) inside. The following uses CSS2 selectors (:first-child etc) and CSS3’s corner-rounding border-radius to selectively round the outer corners of the cells in the corners. This will work for any size table. […]

Categories
Code Tech Web

PHP Bug: json_encode() misleading warning on object with private properties

I have found a peculiar issue with PHP’s json_encode() function. If you have an instance object with private properties and use json_encode() it will give you a very misleading warning. class ExampleObject { private $privateProperty; … } $obj = new ExampleObject(); json_encode($obj); results in Warning: json_encode() … recursion detected … There are two workarounds in […]

Categories
Hardware Media Musings Opinion Personal Software Tech Video

10/GUI

10gui.com This is as much an HCI concept as it is about the GUI. I think a multitouch pad would be great. 5 fingers, i.e. one hand, would be plenty though, and having one hand remaining on the keyboard allows for faster resumption of typing long text. My HTPC keyboard already has a simple multi-touch […]

Categories
Humour Media Not Mine Video

The Loopy Film

Suitably recursive: 5secondfilms.com/watch/the_loopy_film

Categories
Graphics Language

Indian Rupee Symbol Competition

Since I don’t live in India, I’m not allowed to enter the competition to design an official symbol for the Indian Rupee announced last month. I have however come up with a very simple design: (horribly created in Paint.NET) I’m posting this now so I can see how it compares with whatever is chosen when the […]