Taking my arguments about pixels being relative another step, the CSS pixel sizes that device makers use actually tell us the distance away from your eye that they think you should hold a device. Applying a bit of maths lets us work out what that distance is.
Archive for the 'Front-end code' Category
I keep reading recommendations for using EMs or other typographical units for layout, which I still don’t understand. At best it is an extra layer of abstraction, at worst it is misleading and likely to cause more issues than it solves. I will try to demonstrate why pixels are the best relative unit.
Layout methods in web design have gone through a transition in the last few years, unfortunately we’re still using floats a lot, but flexible layouts have made a comeback in the form of responsive design – which is great. Recently though, I have been puzzled by people suggesting that we should use EMs for layout…
I’ve noticed a bug in Webkit browsers that impacts accessibility: Zooming in does not trigger media queries. Responsive design techniques can really help people who zoom in with their browser, but not in Chrome or Safari at the moment.
A little post for those that run into the same problem I had with TinyMCE and blank instances not quite being blank. I created a little configuration to remove empty HTML tags.
I’ve just gotten back from a great day at the Stackoverflow Dev Day, I didn’t take my usual copious notes, but I thought a flavour of proceedings would be good to get down. For those who don’t know me, I have to add the caveat that I’m not a …
You may have noticed the W3C was asking for contributions for the running the validator. There is a way that you can support the W3c validation service – by not using it. The public version that is. If you use OSX, you can install it locally.
My journey to d.construct was a long one, I hadn’t even checked which talks were when, so I was very thankful for the schedule built into your name tag! I took quite a few notes for general use, but please to refer to the originals where possible:…
Keynote: The urban
I was writing a little accessibility article for .net magazine about text-replacement techniques, including sIFR. I was blithely saying that “yea, don’t worry, it’s fine” with a couple of caveats. But, rather than rely on memory I did a quick test, and discovered something strange.