Hyper Text Markup Language (HTML) Question: Download Questions PDF
How can I eliminate the extra space after a form tag?
Answer:
HTML has no mechanism to control this. However, with CSS, you can set the margin-bottom of the form to 0. For example:
<form style="margin-bottom:0;" action=...>
You can also use a CSS style sheet to affect all the forms on a page:
form { margin-bottom: 0 ; }
<form style="margin-bottom:0;" action=...>
You can also use a CSS style sheet to affect all the forms on a page:
form { margin-bottom: 0 ; }
Download HTML Interview Questions And Answers
PDF
Previous Question | Next Question |
How do I eliminate the space around/between my images? | Can I have two or more actions in the same form? |