« February 2007 | Main | April 2007 »

March 2007 Archives

March 30, 2007

Dean Edwards' IE7 Script-- Make IE6 Act Like IE7

The Event Apart Boston conference mentioned a fantastic tool that I wish I would have heard of long ago: Dean Edwards' IE7 script. This script, which is a collection of JavaScript files, not only fixes a multitude of rendering bugs but actually enables support for certain CSS attributes and transparent PNGs-- features that IE6 doesn't have otherwise. All you have to do is embed an external reference to the script in each page of your site and you won't have to worry about coding around IE6's quirks ever again (at least for that site).

March 28, 2007

Using CSS Selectors to Highlight Unedited Form Fields

At An Event Apart Boston, CSS guru Eric Meyers mentioned an incredibly sensible technique for giving users a simple means of telling which fields in a form they still need to fill out: use attribute selectors in your CSS to highlight form fields which still have a default or empty value after the user submits the form.

Continue reading "Using CSS Selectors to Highlight Unedited Form Fields" »

Best Practices for Validating Form Submissions

There's an art, in my opinion, to validating the information that a user submits in a web form. There are many ways to do it, but few forms do so in a way that is clear for the user and gives them fast feedback, before they submit.

The first thing you should do is use form field labels, descriptive text, and colors to give the user instructions and feedback before they even enter any information. The second is to give them instant feedback via JavaScript when they click on the form's submit button-- before they upload any data. Finally, if the user's entries pass your JavaScript validation and are sent up to the server, you should perform full validation there and, if needed, send their form back to them with clear instructions on how to correct any errors they made. I'll explain each of these steps in detail.

Continue reading "Best Practices for Validating Form Submissions" »

An Event Apart Boston

I've been at An Event Apart Boston for the last two days, and I'm excited to say that it was a pretty good conference. To mention just a few of the topics of interest: Eric Meyers' two talks on CSS highlighted some brilliant uses of the latest CSS specifications that Internet Explorer finally supports (as of IE7); Jeffrey Zeldman dispensed some of his worldly advice on how to pick good clients and do good work with them; and Dan Cedarholm explained how the use of microformats will provide people and software with readable content with only one set of code.

June 2011

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30
Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 4.25