Forum Moderators: open

Message Too Old, No Replies

space below <form> tag

How to get rid of space below form tag

         

chairwars

4:19 pm on Jun 7, 2003 (gmt 0)

10+ Year Member



When I insert a form using the <form> </form> tag there is always a lines space made below the form. Does anyone know how to get rid of that space?

Thanks

dmorison

4:22 pm on Jun 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hiya,

<form> is a block level element within HTML, so the only way to remove the space is to apply the inline display style to it either as a style='' tag, or via CSS.

<form style='display:inline;'>

should do the trick...

pageoneresults

4:30 pm on Jun 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



or with external css...

form{display:inline;}

...or...

form{margin:0;}

chairwars

5:43 pm on Jun 7, 2003 (gmt 0)

10+ Year Member



Thanks both of you. That has solved the problem.

Thanks again