On Apr 1, 2007, at 2:54 PM, Scott Sauyet wrote:
Karl Swedberg suggested that this had to do with accessibility and graceful degradation. That is certainly correct, but the main point is simply to reduce the screen real estate taken by the form.

Scott, when I looked at the HTML Michael provided, I noticed that he didn't use a label at all. He only relied on the value of the inputs. So, it didn't look to me like there would be any difference in screen real estate between the two.

On Apr 1, 2007, at 6:08 AM, Michael E. Carluen wrote:
<input type="text" name="user_id" id="userid_field" class="login_labels"
value="userid"> <input name="password" id="password_field"
class="login_labels" value="password">

Now that I look at Michael's code a bit more, I notice that it doesn't restore the fields' values on blur if they've remained empty. So I suppose that's another difference between the two.


--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com

Reply via email to