Click to See Complete Forum and Search --> : Hidden form fields showing up as lines on html page...strange


amsgwp
11-19-2007, 10:04 PM
anyone know what would cause a form to render the hidden fields??

the page can be seen at http://www.nickgarmon.com/contact.php

the lines above the form are the hidden fields. If I remove a hidden field then one of the lines disappears.

This is using Firefox 2.0.0.9. Internet explorer displays the hidden fields as HIDDEN. I must be doing something wrong to have IE working and FF not..haha.

Centauri
11-19-2007, 10:17 PM
Looks fine in FF 1.5 - could it be that those inputs are not closed properly as per the doctype?

amsgwp
11-19-2007, 10:20 PM
well actually I figured it out and haven't had a chance to come back and post what I did.

The reason was because the style on that page was setting input{ display:block; }, so I added


input[type="hidden"] {
margin: 0;
padding: 0;
display: none;
}