PDA

View Full Version : contact form problem


goblin
09-18-2012, 04:04 PM
Hi.
I am creating a simple form but the text field boxes won´t appear when it is uploaded. There are no borders around the box when I am placing the form within <div id="text"> and </div>

When I try to place the form in an empty page I can se the all the text boxes. Anyone have a suggestion?

Ricky55
09-18-2012, 05:30 PM
Have you got a link?

Do you have any CSS controlling the look of your form elements? This is the only thing that should prevent them from not looking correct.

goblin
09-18-2012, 07:01 PM
Yes, the link is

http://goblinnightvision.com/testpage.html

As you can see the only box that is visible is the comment box.

Ricky55
09-18-2012, 08:54 PM
As I suspected its in your css, you are saying border none.

See line 235

input {
border: none;
}

goblin
09-18-2012, 10:09 PM
Thank you. Now I do not remember why I put border to none because I did not make any forms and I am now wondering if I put a border on if that will affect other elements in my webpage

goblin
09-18-2012, 10:24 PM
Yes, it did change other elements on the website. Is there anything I can do so it only affect the form?

edbr
09-19-2012, 02:50 AM
what elements did it affect? how dod you code for the border?

goblin
09-19-2012, 03:11 AM
well, it affected the paypal buttons. After putting in a border in my css file then all the paypal buttons got a border around them;-)

edbr
09-19-2012, 03:45 AM
yu could use a class, .form input{ border .......}
then use that class for your form ...class="form"

goblin
09-19-2012, 04:20 PM
Thank you for all the help.