css Archive

Checking for installed fonts with @font-face and local()

Firefox 3.5 was released earlier today, and joins Safari in supporting the @font-face rule with OpenType and TrueType font families, allowing you to use a wider range of fonts in your designs (as long as they are correctly licensed, of course).

One slight drawback of the technique is the blank space that’s displayed as the new font is loaded into the browser; this is especially unnecessary for users who already have that font natively on their system.

The way to get around that is quite simple; use local() to check if the font is on the user’s system first.

Read the full article


HTML 5, CSS 3, DRM & fonts

I’m at home with the flu at the moment, so taking the opportunity to un-star some items in Google Reader; this post is a link-dump with a little added comment.

A few of them have been in my favourites for a couple of months, so apologies if you’ve seen them already.

Read the full article


CSS3.info: Progression in layout modules

Just written a new post on CSS3.info (the first for a long time), on the subject of the progression of a couple of layout modules through the W3C recommendation process. It’s actually a bit more exciting than I’ve just made it sound.


Beginning ARIA mark-up

WAI-ARIA is a relatively new standard from the W3C, which provides semantic information to assisted screen reading technology. It’s fairly rapidly being adopted by browser makers and should become a part of your mark-up toolkit.

As well as being good for accessibility, it’s also useful to provide hooks for CSS and Javascript. Here are a just a couple of quick ways to get started using it.

Read the full article


CSS Animation Pong

The recent release of the Safari 4 Beta saw a new standards proposal from the Webkit team, for controlling animation using CSS. While there’s still a debate to be had about whether CSS is the right language for this (I still fall on the side that it doesn’t, strictly), I do think their implementation is well handled. I wanted to try it out, so I went back to the earliest form of digital entertainment: Pong!

Read the full article


New CSS implementations in Firefox / Gecko

Mozilla’s Robert O’Callahan has posted a few hints about new features expected to land in the next version (1.9.2) of the Gecko layout engine.

Allowing use of SVG in <img> and background-image is high on the list, apparently, as are background-size, multiple backgrounds, and possibly text-overflow. These features have already been implemented between Opera and Safari.

I can’t find any information yet as to when Gecko 1.9.2 will land; I think it’s doubtful it will make it into Firefox 3.1, so are we looking at 4.0 or an as yet unannounced 3.2?


Newer | Older

Aside

I’ve updated my Speaking page to include more conferences, more videos, and a little on my speaking requirements and preferences. I’m planning to cut down on the number of talks I give in 2014 (twelve is too many), but am always open to interesting offers and opportunities, so please get in touch if you’re organising an event.

[#] 1 Comment . More Asides.