Page 1 of 1

I need help.

Posted: Tue Sep 01, 2009 9:08 am
by mac123
Currently I have this simple email form in php.

However, the alignment of the text field is off.

How can I make all the text field align nicely?

Anyone can help?

This is the reference link:

http://www.robson-design.com/processemail.php

Pls advise.

Appreciate it.

Re: I need help.

Posted: Tue Sep 01, 2009 9:22 am
by Paul_F
I'd put that form in a table. That's the easiest way to seperate literals from values, IMHO.

Good Luck!
Paul

Re: I need help.

Posted: Tue Sep 01, 2009 9:25 am
by papa
I use labels.

Code: Select all

 
label {
    display: block;
    float: left;
    width: 10em;
}
<p><label for="user_name">Username</label>
<input type="text" name="user_name" value="" id='user_name' />
*</p>

Re: I need help.

Posted: Tue Sep 01, 2009 9:34 am
by mac123
papa wrote:I use labels.

Code: Select all

 
label {
    display: block;
    float: left;
    width: 10em;
}
<p><label for="user_name">Username</label>
<input type="text" name="user_name" value="" id='user_name' />
*</p>
Hi Paul,

You are very helpful.

Sorry due to some coding problem, I seems to be blur.

Is it possible I send you the file for adjustment.

Btw, it's nice knowing you... :lol:

Re: I need help.

Posted: Tue Sep 01, 2009 9:46 am
by Paul_F
Mac,

I'll PM you a sample file that you can play with and learn from. Papa's method would work for you as well. I just prefer using tables!

Re: I need help.

Posted: Tue Sep 01, 2009 9:49 am
by mac123
Paul_F wrote:Mac,

I'll PM you a sample file that you can play with and learn from. Papa's method would work for you as well. I just prefer using tables!
Thanks Bro for the reply.

Actually, I tried to open in Dreamweaver and created a table for it but when I tested, it did not work...:)

Re: I need help.

Posted: Tue Sep 01, 2009 10:04 am
by Paul_F
No problem man!

Here's the page where I snatched that form from. All I did was format it into a logical/legible file. You you may find some other useful stuff there.

Re: I need help.

Posted: Tue Sep 01, 2009 10:37 am
by mac123
Paul_F wrote:No problem man!

Here's the page where I snatched that form from. All I did was format it into a logical/legible file. You you may find some other useful stuff there.
Hi bro, what's ur email address? ;)