Gaurav Saxena
Gaurav Saxena

Reputation: 1

HTML Form elements reduces its height after form submission

I have designed a simple form to send me some data as feedback. The look of the form is same on all browser. But there is one problem I'm unable to fix. Whenever I submit the form the height of all the elements of my form get very much reduced. I even fixed the height of my elements but it is still getting decreased.!

This is the image before I submit the form. https://i.sstatic.net/XtVbw.jpg

This is the image after submission. See the underlined text fields. https://i.sstatic.net/xZ3m9.jpg

Upvotes: 0

Views: 64

Answers (1)

Álvaro González
Álvaro González

Reputation: 146460

Use your browser's View Source feature to inspect the HTML. I bet you have some error or invalid elements before the <DOCTYPE>.

Upvotes: 1

Related Questions