background preloader

Site ressources

Facebook Twitter

Create Your Own @font-face Kits. Outils pour les webmasters - URL à explorer. Designing Modern Web Forms with HTML 5 and CSS3 » LegendThemes.com. Recently I noticed that many web developers are still using HTML tables to layout their forms. Mainly it is because people stick with what they know, and have never taken the time to learn a better way.

Once you learn to layout forms with standards compliant CSS it is actually quite easy! We will be using HTML5 and CSS3 to achieve great style and functionality without causing problems in less capable browsers. To be clear, this code will not look exactly the same in every browser. We are designing for the most advanced browsers, then making sure it still degrades gracefully. Starting with the right markup. Here we are using HTML 5 to code the form.

Note the input types. It looks like a minor difference but it is very frustrating to enter an email address into a text input on the iPhone. Older browsers that don’t understand HTML 5 forms will just fall back to input type=”text”. Adding basic styling. Now to style our form. Now to style the form container. Styling the Input Fields Adding Icons. Centre de création numérique.