I’ve said before and I’ll say again that contenteditable is one of the coolest attributes you can apply to an element. This lil’ gem originates from Microsoft, of all places, and has been there since IE5.5. Well, the other browsers caught on a while back, and others, including myself, have demonstrated some cool techniques with
Just this morning I had a small conundrum where I was trying to debug some HTML and CSS that I had written. Specifically, I was trying to figure out where some of my wrappers were, and how some alt and title attributes were behaving. And then I had an epiphany: you can do this with
Working in Content Management System (CMS) implementations has its challenges. While some of those challenges are in the application itself, many can be with the content authors. Content authors expect a certain amount of flexibility in how they can add or remove content on a page and we have to find a way to account
CSS3 offers a ton of brand new ways that you can select elements in ways we’ve never thought of before. Today I want to focus on exclusively the structural pseudo-classes, which are ways of selecting elements based on the document tree. CSS2.1 limited us to :first-child and IE7 and 8 have done a great job since
Any of my web development buddies have learned that I’m a huge fan of the em. Huge fan. We’d be Facebook friends, we’d go on vacation together, yadda yadda yadda. When you look at my online resume you’ll be hard-up to find too many px written into my stylesheet. In fact, almost every property with
In an interview with Jacob Gube from Six Revisions on the subject of exciting developments in CSS3, Eric Meyer said …the power to describe Web 2.0 designs in CSS is insignificant compared with the power to select every third table row starting with the fifth one. Or being able to select the first paragraph within
My absolute favorite HTML5 attribute is “contenteditable”. It makes the contents of the element editable. It’s an incredibly simple feature that has tons of potential for your website.In fact, I’ve already seen it paired with localStorage or Web SQL APIs to capture data and create browser-side interactivity.