Archive
You are viewing all articles posted in september 2008
Recent articles can be found on the homepage.
Focus onload but keep Backspace intact
posted on 12 September 2008 (05:26 PM)
A lot of websites try to help you by auto-focusing on an input field on pageload, so you can start typing right away.
Well, thanks so much, you guys couldn't be more helpful.
Except of course that I always use the Backspace key to move back in my history. By focusing on a form field you're essentially disabling some fundamental browser functionality.
Dynamically added form elements lose their margins
posted on 08 September 2008 (11:17 AM)
I stumbled upon an annoying bug today. When dynamically appending input fields to the DOM, their margins are not as you specified in their respective classes.