I have a search on my page produces by <form...> and </form> tags. There is a white space below the search <INPUT TYPE="Text"> slot. How to bring the next page element like a table or <hr> tag to eliminate that space? Example: 1. Current position: <form><INPUT TYPE="Text"></form><hr> 2. Desired position <form><INPUT TYPE="Text"><hr></form> ----
The graphics didn't work for me, but you can just style the form tags and remove padding and margin: <form style="padding: 0px; margin: 0px;" ...>
Thanks ITCN, I tried your suggestion and... You can see the result at:http://www.th4u.com/thailand.htm Is it possible to further reduce the white space ?
Forms by default add white space after them (at least in IE). Try this: <form style="display: inline; margin: 0;">
Best suggestion i have for you is to put a table inside of a form. For example: <form> <table> <tr> <td>text/etc here</td> </tr> </table> </form> You can then also format the table to make sure there are no margin spaces/padding/borders etc.
I've never had extra white space in my forms, not even in IE. I don't see any form on the linked site, though. If there's extra space going on, there's something wrong with your code-- closing form tags should not be creating any whitespace for any reason.
It took me some playing around with the code, but finally, I get what I wanted. Thanks again to ITCN. For those that don't see the FORM - it is simply because I'm referring to code <FORM>...</FORM> and not to the forms (that need to be filled) on the page. Anyhow, to see what it's about, just take a look at the top portion of my pages: http://www.th4u.com/thailand.htm http://www.th4u.com/toughladies.htm
Same here. I'm thinking you might have a typo in one of the close tags (IE: "</from>" instead of "</form>") Also, don't capitalize them (IE: <form>...</form> instead of <FORM>...</FORM>). Hope you get it sorted out.
Hey thanks for this thread. I was having this problem yesterday but the form was breaking up my tables and my images. Your answers here helped me out? Thanks