Reading this article listing 25 rounded corners techniques with CSS reminded me of perhaps the worst solution to the problem I ever read: rounded corners without images. 10 <div>‘s and a whacking great chunk of CSS… and the funniest part is the claim that this is the future of rounded corners
. What makes the laughter die a little is that three years later there’s still no pure CSS cross-browser solution without images.
I was halfway through writing a long post about the fact that the W3C’s HTML Working Group have released a document listing the differences between HTML 4 and HTML 5 when I clicked a button I shouldn’t have clicked and lost the lot. Why doesn’t WordPress have automatic saving of drafts like Gmail does? Anyway, it’s late and I’m tired, so I won’t write it again.
In a nutshell: there are a ton of new elements to help with structural and semantic markup (hello <footer>, <header> and <nav>) , a lot of new attributes to aid in creating web applications, some elements have been dropped completely rather than deprecated (no more frames!), a load of new APIs for interactive and media content (drag & drop!) and a lot of official extensions for DOM programmers (getElementsByClassName() being the most obvious).
That was a very rushed introduction to the changes, but right now I’m a very grumpy developer. Best if you have a good read through yourself (there’s also a human-readable version of the full spec if you have more time), and I’ll update in more detail when I’ve calmed down a bit.
I do want to say congratulations to the HTMLWG for being more clear and open in their communications, however.
I’m off to @media Europe this week, and looking forward to hearing presentations from some of the best in the business.
Of course there are many excellent events that take place worldwide that I can’t attend, and many presentations I’d love to see. Below are five links to slideshows from events that have taken place this year, which I’ve found interesting even without being able to see them presented.
Ostensibly about JavaScript, but also of great value to anyone who writes code. How to plan well to avoid bloated code, and how to pass that on to anyone who follows you.
An overview of Microformats, the benefits they bring to the web, and how Mozilla intends to expose them in future browsers.
Where CSS is now, what we can expect from it in the future, and which CSS 3 declarations you could be using now.
A hands-on primer in grid-based design, with plenty of examples to follow.
Why typography on the web is so poor compared to print, and what you can do to make your text look nicer.
This page will evolve in the next few weeks incrementally. We will add a feed, very soon.
From the most recent post on the W3C HTML Working Group blog; made three months ago.
Thanks to del.icio.us I found 25 Code Snippets for Web Designers which has some really useful and interesting links, including a great presentation on designing for the grid by Khoi Vinh, whose blog led me to DesignByGrid.com, a collection of tutorials and resources.
Over at 456BereaStreet, the ever-impressive Roger Johansson recently wrote an impassioned article about a perceived lack of support for semantic structure in HTML 5. He’s now had a chance to understand the issue more fully and has written a follow-up, Another Look at HTML 5, in which he explains his concerns in a more measured way.
All of his points are valid, but his call for more clarity in the specification really struck a chord with me: