Here’s a form validation script that is very easy to use.
Really Easy Field validation with Prototype
Instructions
The basic method is to attach to the form’s onsubmit event, read out all the form elements’ classes and perform validation if required. If a field fails validation, reveal field validation advice and prevent the form from submitting.
Include the javascript [...]
Posts Tagged ‘CSS’
Really Easy Field validation with Prototype
Posted in CSS, Design, JavaScript, My Blog, MySql, PHP, tagged CSS, handle, js validation, My Blog, MySql, PHP, validation on May 20, 2009 | Leave a Comment »
CSS Positioning – Some pointers
Posted in CSS, Design, tagged CSS, Design on June 15, 2008 | Leave a Comment »
1. Absolute Absolute positioning is absolute in relation to the parent element. In this case the parent element is the whole document, so the div is positioned absolutley at 0,0 and will apear in the top left corner.
2. Relative This positions the element relative to where it would have been in the document. Useful for [...]
Different css for different browser
Posted in CSS, Design, tagged CSS, Design on June 11, 2008 | 3 Comments »
In an ideal world, you only need one set of CSS style sheets for your website, and those styles will work with every browser currently being used. This, as every web master soon finds out when he/she uses CSS, is a pipe dream. The modern browsers all have uneven levels of implementation of the CSS [...]