Webforumz's RSS FeedRSS Webforumz RegistrationRegister Contact Webforumz StaffContact

How can I make a good-looking form?

This is a discussion on "How can I make a good-looking form?" within the Web Page Design section. This forum, and the thread "How can I make a good-looking form? are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jul 21st, 2008, 01:51
New Member
Join Date: May 2008
Location: Aspen, CO
Age: 26
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
How can I make a good-looking form?

Hi, today a friend of mine introduced me to browsershots.org. When I saw what my contact forms looked like in different browsers I couldn't believe it.

To make forms look nice I usually create a div and assign it a background image using the background-image css property. I give the div the same height and width as the background image, and then I position the input fields using the margin-top and margin-left properties.

In Safari the text fields are way too long and get out of the image. In IE the vertical separation is too little and everything is screwed up. In Opera the text fields are too tall and screws up the form as well.

Many people recommended to me not to use divs with a background for forms. My question then is: how should I do it? Can I use a table with a background image? I don't want to have a normal (ugly) contact form. Is there any way of making a form work across the browsers without giving up the nice design?

BTW, my website is www.tryarg.com/WorldCup if you want to take a look at the form at the bottom to see what I am talking about.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old Jul 21st, 2008, 22:35
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: How can I make a good-looking form?

What you need to accomplish is doable with css but not the way you were doing it. you can style the form, inputs etc all separately with css and even specify the width, height, background of those elements as well.

It breaks in Firefox 3 as well.

In your case I would set the form in a div with 1 div for the top corners, one div for the fill and one div for the bottom corners. Make an image of each form label and insert that image in column one with text-align:right; on it then the corresponding input in column two etc etc. I am assuming you have enough experience to figure this out from here. or since it is a form use a table if you want, judging by what you have and the fact it is a form that should be fine.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)

Last edited by moojoo; Jul 21st, 2008 at 22:37.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding / Showing form fields based on previous form input John Alexander Hopper PHP Forum 1 Mar 10th, 2008 13:30
How do I make a form on my webpage? Kokie Website Planning 6 Jan 7th, 2008 16:02
What is good form re alt text for images? rubyfruit Starting Out 3 Apr 18th, 2007 20:06
Good At Designing? Want To Make Some Cash? BlueField Job Opportunities 2 Mar 7th, 2006 23:14
Do you have a good enquiry form? csa Web Page Design 4 Jan 18th, 2006 18:49


All times are GMT. The time now is 19:08.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8