Prevent Form Field Autocomplete
Preventing autocompletion of form fields is incredibly important since we never know where our users are completing them from. They could complete them from a super secure computer or an incredibly public computer. Regardless of security level, some field values should never be remembered, like credit card number, social security number, etc. Preventing autocompletion is as simple as adding one attribute to a FORM tag for individual form fields.
The autocomplete attribute is the key. This attribute may be added FORM tags to prevent any autocompletion:
<form method="post" autocomplete="off">
You may also isolate single fields for preventing autocompletion:
<input type="text" name="credit_card" autocomplete="off" />
Big detail, simple task, simple solution.
With CSS border-radius, I showed you how CSS can bridge the gap between design and development by adding rounded corners to elements. CSS gradients are another step in that direction. Now that CSS gradients are supported in Internet Explorer 8+, Firefox, Safari, and Chrome...
I released my first MooTools class over a year ago. It was a really minimalistic approach to zebra tables and a great first class to write. I took some time to update and improve the class.
You may have as many tables as...
The PHP - Content & Header
The following snippet goes at the...