Formating a form

liunx

Guest
I made a contact form. You can view it here: <!-- m --><a class="postlink" href="http://campbells.dikaios.net/feedback.php">http://campbells.dikaios.net/feedback.php</a><!-- m --><br />
<br />
The problem is, the name, E-Mail, and Subject areas are input tags, with a character width of 50 (iirc), and the message area is a textarea tag with the same width. The boxes are NOT the same width. I can adjust them until they are (inputs at 60, textarea at 45), but I was wondering if this is going to be the same in other browsers, or if the person can just change their fonts, and mess it all up. Is there any way to set them to 100% of the size of the table cell they are in, or anything similar?<!--content-->specifing the cols in a textarea is not the same as the size in input tags. if you think it is bad look at it in NS, it will stretch the input boxes farther.<br />
<br />
also I don't believe you can use .body in your css as it may conflict with body at the top. and why haev a html as one of the classes?<!--content-->Originally posted by AaronCampbell <br />
I made a contact form. You can view it here: <!-- m --><a class="postlink" href="http://campbells.dikaios.net/feedback.php">http://campbells.dikaios.net/feedback.php</a><!-- m --><br />
<br />
The problem is, the name, E-Mail, and Subject areas are input tags, with a character width of 50 (iirc), and the message area is a textarea tag with the same width. The boxes are NOT the same width. I can adjust them until they are (inputs at 60, textarea at 45), but I was wondering if this is going to be the same in other browsers, or if the person can just change their fonts, and mess it all up. Is there any way to set them to 100% of the size of the table cell they are in, or anything similar? <br />
<br />
try specifying the width of the text fields and the textarea box using CSS and a common unit of measure, such as pixels, and see if that gives you better results.<!--content-->
 
Back
Top