Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 07-25-2008, 08:51 AM HTML Form
athomas's Avatar
Ultra Talker

Posts: 286
Name: Adam
Location: Eastern Shore, MD, USA
Trades: 0
I am using a contact form so users can send inquries, testimonials, etc... my site is done with PHP includes.

For some reason I can't get this to look right, can somebody write out something for me to have the text boxes align right? I'd be forever greatful, I've been trying to fix this for days.

http://www.bkriegtech.net/?page=contact
athomas is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-25-2008, 09:57 AM Re: HTML Form
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Here is a quick and dirty way to do it. Place this into your CSS file:
Code:
 .mainForm label { display: block; width: 11em; float: left; clear: both; }
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 07-25-2008, 10:01 AM Re: HTML Form
Novice Talker

Posts: 5
Trades: 0
Here you go:
HTML Code:
<table width="60%" cellpadding="0" cellspacing="1">
        <form method=post enctype=multipart/form-data action=form/processor.php onSubmit="return validatePage1();">

   <tr>
                    <td><label class="formFieldQuestion">Full Name: </label></td><td><input class=mainForm type=text name=field_1 id=field_1 size='35' value=''></td>
                    </tr>

                    <tr><td><label class="formFieldQuestion">E-Mail Address: </label></td><td><input class=mainForm type=text name=field_2 id=field_2 size='35' value=''></td></tr>

                <tr>
                    <td><label class="formFieldQuestion">Username: </label></td><td><input class=mainForm type=text name=field_3 id=field_3 size='35' value=''></td></tr>
                    <tr><td><label class="formFieldQuestion">Domain Name: </label></td><td><input class=mainForm type=text name=field_4 id=field_4 size='35' value=''></td></tr>
                    <tr><td><label class="formFieldQuestion">Problem: </label></td><td><select class=mainForm name=field_5 id=field_5><option value=''></option><option value="Low">Low</option><option value="Medium">Medium</option><option value="High">High</option><option value="Emergency">Emergency</option><option value="Critical">Critical</option></select></td></tr>
                    <tr>
                    <td><label class="formFieldQuestion">Message: </label></td><td><textarea class=mainForm  name=field_6 id=field_6 rows=10 cols=35></textarea></td></tr>
</form>
</table>
Hope this helps!

Last edited by Shaibani; 07-25-2008 at 10:06 AM..
Shaibani is offline
Reply With Quote
View Public Profile
 
Old 07-25-2008, 10:13 AM Re: HTML Form
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Not a TABLE!!!!!


float the label left,
float the input right.
clear:right on the input.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-25-2008, 11:06 AM Re: HTML Form
athomas's Avatar
Ultra Talker

Posts: 286
Name: Adam
Location: Eastern Shore, MD, USA
Trades: 0
Sweet!!! It's weird though, now, each input box has a bullet lol. What is the cause of that? Theres no li anywhere
athomas is offline
Reply With Quote
View Public Profile
 
Old 07-25-2008, 11:13 AM Re: HTML Form
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Actually, there are several <li>s, all with a class called .mainForm.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.

Last edited by wayfarer07; 07-25-2008 at 11:15 AM..
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 07-25-2008, 11:15 AM Re: HTML Form
athomas's Avatar
Ultra Talker

Posts: 286
Name: Adam
Location: Eastern Shore, MD, USA
Trades: 0
How do I remove that? It's already classed out and everything.

Last edited by athomas; 07-25-2008 at 11:16 AM..
athomas is offline
Reply With Quote
View Public Profile
 
Old 07-25-2008, 11:17 AM Re: HTML Form
angele803's Avatar
Perfectly Imperfect

Posts: 1,772
Name: Stephanie
Location: Oklahoma
Trades: 2
add "list-style:none;" to your .mainForm
__________________

Please login or register to view this content. Registration is FREE
angele803 is offline
Reply With Quote
View Public Profile
 
Old 07-25-2008, 11:20 AM Re: HTML Form
athomas's Avatar
Ultra Talker

Posts: 286
Name: Adam
Location: Eastern Shore, MD, USA
Trades: 0
didn't change anything.
athomas is offline
Reply With Quote
View Public Profile
 
Old 07-25-2008, 11:43 AM Re: HTML Form
angele803's Avatar
Perfectly Imperfect

Posts: 1,772
Name: Stephanie
Location: Oklahoma
Trades: 2
Right now, you have this:

Code:
.mainForm label { display: block; width: 11em; float: left; clear: both; list-style: none; }

ADD this:
Code:
.mainForm {list-style:none;}
So, all together, you would have this:
Code:
.mainForm label { display: block; width: 11em; float: left; clear: both; list-style: none; }
.mainForm {list-style:none;}
Right now, you are just putting "list-style:none" on any labels inside .mainForm. You need to put the style on the "<li>", not the label. In fact, you should be able to remove "list-style:none" from ".mainForm label"
__________________

Please login or register to view this content. Registration is FREE
angele803 is offline
Reply With Quote
View Public Profile
 
Old 07-25-2008, 11:43 AM Re: HTML Form
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
#mainForm_1 {
list-style-type:none;
}
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-25-2008, 11:47 AM Re: HTML Form
athomas's Avatar
Ultra Talker

Posts: 286
Name: Adam
Location: Eastern Shore, MD, USA
Trades: 0
That worked, sorry. Misread what you wrote.
athomas is offline
Reply With Quote
View Public Profile
 
Old 07-25-2008, 01:02 PM Re: HTML Form
athomas's Avatar
Ultra Talker

Posts: 286
Name: Adam
Location: Eastern Shore, MD, USA
Trades: 0
Actually, now, the bullets on my navigation menu are gone, with the exception of the testimonials link for some reason.


Is this just all or none?
athomas is offline
Reply With Quote
View Public Profile
 
Old 07-25-2008, 03:51 PM Re: HTML Form
angele803's Avatar
Perfectly Imperfect

Posts: 1,772
Name: Stephanie
Location: Oklahoma
Trades: 2
It depends on how specific you get. If you put the "list-style:none" on just the .mainForm class, then only list items with a class of mainForm will not have a bullet.
__________________

Please login or register to view this content. Registration is FREE
angele803 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to HTML Form
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.49423 seconds with 12 queries