Women Magazine Islamic Wallpapers Islamic Names Arabic Mehndi Design Faraz Poetry Vector Icons Beauty Tips India Mehndi Design Boys and Girls Names Directories Web Games 2012 Events and Holidays Web Templates

Home Sitemap Contact
Home Islam News Horoscope Urdu Jokes SMS Women Section Articles Urdu Section Weather Directories Urdu Poetry
Today Date:
You are here: Home > Articles > CSS Articles > Stylish and Accessible Forms using CSS - Article

CSS Articles

Quick Links:   

Stylish and Accessible Forms using CSS

The majority of sites designed these days have at least one form. If you're a web designer then you'll know that creating a template is essential if you are to be efficient in your work.

Many times I've compromised on a form's design due to time restrictions. Below is a template that I use and that is quite flexible in its design. This form allows for any type of input field from a simple text field to a group of radio buttons. If your quite comfortable with CSS then please feel free to adapt this code.

The fun you can have with this form can really change the way your forms look and make a great deal of difference to your overall web site design.

XHTML CODE

The link below shows a basic form structure. I've used ordered lists (ol) to segment the form and (li) tags for each row of the form just as I find this easily breaks up the code for use by novice CSS users.

XHTML Code and example

Additional Tags

If you look through the code you will see some tags which you may deem as unnecessary (i.e
tags after the radio button). These are to enable a cross browser compatible layout. Within the CSS code you will notice at the beginning that all the margins and padding are set to zero. Alternatively you could place the form in a div with zero margins and padding but it is entirely up to you.

CSS Code

CSS Code and example

Browser Compatibility

Currently this form has been tested and works in IE5.5, IE6.0 and IE7 and Firefox.
Source: Sam Hickson
More Articles Listing in this category:
The benefits of using CSS
Submitted by: Jim McCoy on 14-09-2008
Stylish and Accessible Forms using CSS
Submitted by: Sam Hickson on 14-09-2008
CSS Buttons Instead Of Image Files
Submitted by: Timothy Aaron Whiston on 14-09-2008
How To Create A Blogger & Blogspot Theme
Submitted by: Brad on 14-09-2008
Rollover CSS Image Menu
Submitted by: KarachiCorner-Admin on 14-09-2008
More...
Share It!
  • Digg
  • Yahoo! Buzz
  • StumbleUpon
  • TwitThis
  • Reddit
  • del.icio.us
  • Technorati
  • Facebook
  • Mixx
  • MySpace
  • LinkedIn
  • Google Bookmarks
  • Print this article!
  • E-mail this story to a friend!
blog comments powered by Disqus

Subscribe via email
 
Download Free Vector Images Daily Horoscope
Send Free Greeting Cards Women's Corner
       Search Our Archives
 
Bookmark and Share
    Categories
Makkah Wallpapers
Madina Wallpapers
Hamd | Naat | Bayanat
Urdu Stories
Urdu Poetry
Urdu Jokes
Urdu SMS
Women Section
Cooking Tips
Women Beauty Tips
Women Fashion
Mens Fashion
Pakistani Music
SEO Articles
Make Money Online
Islamic Boys Names
Islamic Girls Names
Ringtones
Urdu Novel
MSN Stuff
Love Calculator
Funny Videos
Online Games
Telephone Directory
Mobile Softwares
Web Templates
Events & Holidays
Hina Mehndi Designs
    More Categories
    Graphics Resources
Business Cards Designs
Latest jQuery Plugins
Fresh jQuery Plugins
Vector Graphics
Pattern and Texture
Photography
Business Card Design
Vintage Posters
Movie Posters
Advertise here
    Tags
Makkah Wallpapers Madina Wallpapers News Mehndi Designs Daily Horoscope Mobile Ringtones Online Games Jokes Funny SMS Weather Updates SEO Articles Flash Games Make Money Articles Cooking Recipes Beauty Tips Women Section Greeting Cards Vector Icons Free PSD Templates Muslim Boys Names Women Jewelry Designs Banks Best Hotels Mobile Softwares
    Graphics Resources
Free Vector Cliparts
Free Vector Background
Mini Pixel Icons
Icon Packages
Technology Photos
Interface Icons
Vista Icons
Multimedia Icons
Mix Icons
Ecommerce Icons
Icandy Toolbar Icons
Custom Software Icons
Web Application Icons
Christmas Icons
Windows XP Icons
PSD Templates
Mobile Ringtones
    Useful Links
Earn Money with your Blog or Website
Urdu Jokes Urdu SMS Urdu Poetry
Women's Jewelry Women's Fashion Hind Mehndi Desings
    Technology Links
Free Online Games
Muslim Name islamic Names
Web 2 SMS Send Free SMS
Urdu Recipes
 

Popular Posts:


Mehndi Designs
Mehndi Designs, Hina Mehndi Designs, Arabic Mehndi Designs, India Mehndi Designs, Bridal Mehndi Designs
Urdu Poetry
The huge collection of Urdu poetry web site of the world. Faraz Poetry, Wash Shsh Poetry, Parveen Shakir, Mirza Ghalib
Daily Horoscope
Urdu-Mag.com has been providing horoscopes, astrology, and psychic readings on the internet for free.
Download Vector Icons
You can download high quality Vector and Web-Ready clipart for FREE. Free Vector Background, Mini Pixel Icons, Interface Icons, Vista Icons, Mix Icons
Food and Recipes (Cooking Recipes)
We have huge collection of Pakistani Recipes, Indian Recipes, Chicken Recipes, Lamb Recipes, Vegatable Recipes, Cury Recipes and much more...
Send Greeting Cards
Send free online greeting cards, animated cards, ecards, postcards & egreetings with quotes for friends and family on special occasions: Eid Geeting Cards, Birthday Greeting Cards, Love Greeting Cards, Friendship Greeting, ...
Donwload Mobile Ringtones
Browse our collection of polyphonic ringtones alphabetically or use our powerful search to find ringtones quickly.
   

Most Popular Pages:


News (Daily News, Sports News, Business News, World News)
Urdu-Mag.com News brings the breaking and latest news of Pakistan, world, business, technology, sports, entertainment, education, cricket, politics, and more & more.
Articles (SEO Articles, Health Articles, Make Money Articles )
Urdu-Mag.com is a free content search engine and article directory.
Submit your articles, email articles, browse articles in more than 50 categories.
Web Directories (Submit Your Site)
One Way Text Link is a list of web directories and a free directory submission tool to submit semi-automatically to over 3500 quality free web directories as well as paid directories and keep track of all of your submissions.
Urdu Poetry (Ahmed Faraz, Wash Shah, Parveen Shakir)
Urdu-mag.com have huge collection of faraz poetry, wash shah poetry, parveen shakir and other popular poets poetry, Urdu poetry archive with ghazals, nazms, articles, and links to related websites.
Islamic Names | Muslim Boys Names | Muslim Girls Name
Urdu-mag.com have large collection of Muslim Boys & Muslim Girls Names. Muslim names with meanings and arabic text. Islamic baby boy and girl names. Search Muslims Names.
Download Free PSD Templates
You can download high quality PSD Templates, Joomla Templates, Flash Templates, Business Templates, OSCommerce Templates, Mombo Templates, Free CSS website Templates, Ecommerce Templates for FREE..
Free SEO Tools
Free SEO Tools for webmaster, SEO Tools are Google Page Rank, Google Indexing, Yahoo Indexing, Alexa Page Rank, Backlinks, Link Popularty and more free SEO stuff
 
Copyright© 2008-2009 www.urdu-mag.com, All Rights Reserved. Contact Us