James Wilding Freelance Rails, Ruby, and iPhone Web App Developer

Archive for December 2009

Submit This

“Submit” is rarely good text for an HTML form’s submit button.
If you use “submit”, you’re probably committing the classic geek mistake of using technical language to describe something to non-technical people. Yes, from a technical perspective the button does ’submit’ the form, but the people who are using it don’t care about how the form [...]

How I write well-structured CSS

Creating well-organised CSS files is important if you’re building and maintaining a website. I love to keep things simple, so I have just two basic rules for writing well-structured CSS.
1. File Structure
Don’t just throw CSS rules into your file: organise them. I move from the general to the specific, and usually have the position of [...]