Disable Enter Button for a Form in jQuery


$("#form").keypress(function(e){ return e.which != 13; });

Posted at 5pm on 01/27/10 | no comments | Filed Under: ajax read on

Checkboxes and Vertical Text Alignment

You set the vertical-align on the checkbox, not the parent div or the text. Intuitive. Works in Firefox and IE.

<style>
* {
font-size: 10px;
}
#cb {
vertical-align: text-bottom;
_vertical-align: middle;
padding: 0 !important;

Posted at 3pm on 10/02/08 | Comments Off | Filed Under: css read on

About

A list of things I can’t remember how to do.

Categories