Quantcast
Channel: Fit to Page
Browsing all 10 articles
Browse latest View live

Testing for outline CSS support with jQuery

In the good spirit of testing capabilities rather than browser versions, I needed a way to find out whether or not a browser supports setting the values of the “outline” property via CSS. IE6 and 7...

View Article



Too big to work?

Without trying to dismiss the complexity of the problem, how hard can it be to implement an Europe-wide train booking system? BBC: “Euro train booking system shelved” Is IT still such a headache that...

View Article

Image may be NSFW.
Clik here to view.

Making sprites

So you have a website that uses dozens of little images to make the interface more attractive. Maybe there’s a toolbar or menu, where each item or button has its own icon. It looks great, but it’s a...

View Article

Getting the category ID in WordPress

There is quite a bit of documentation in the WordPress site about categories, specifically how to retrieve data about them. Unfortunately all the available methods seem to focus on getting category...

View Article

Making YUI ButtonGroups behave

I like YUI Buttons. Amongst other niceties they allow you to have reliable cross-browser, cross platform custom-rendered form widgets like checkboxes and radio buttons — while keeping all the...

View Article


htmlspecialchars() for JavaScript

Creating markup with JavaScript for fun and profit is easy due to innerHTML. However, it would be nice to be able to escape output that is not trusted or known. Most references online point to...

View Article

Why I want to beat Java with a stick

int x = 100; Stuff.doStuff(x); The method doStuff(String) in the type Stuff is not applicable for the arguments (int) int x = 100; Stuff.doStuff(x.toString()); Cannot invoke toString() on the primitive...

View Article

Tabs, done right

There are a lot of JavaScript-driven tab widgets around the web. All of the major JS libraries provide a tabs widget, and this is such a common user interface pattern that the ARIA specification...

View Article


En and Em dashes in KDE

I’m a bit of typography geek, so hunting down in KCharSelect for en dash (–) or em dash (—) feels like a lot of trouble. No more! Alt Gr + -(hyphen) = en dash Alt Gr + Shift + -(hyphen) = em dash Not...

View Article


Vertical reordering in CSS

There are plenty of techniques for reordering content horizontally in CSS (by reordering content I mean visually laying out content in an order different than the one in the source code). Usually those...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images