addeacher Posted January 20, 2007 Share Posted January 20, 2007 When integrating the domain checker on main site, there always seem to be a extra space / cell / row just below the domain checker. I checked in the site code there are no codes for space below it or whatsoever, in design mode in dreamweaver it shows fine but when viewing in browser it shows a space below. Any idea? <form action="http://www.yourdomain.com/whmcs/domainchecker.php" method="post"> <input type="hidden" name="direct" value="true"> Check Availability: <input type="text" name="domain" size="20"> <select name="ext"> <option value=".com">.com <option value=".net">.net <option value=".org">.org <option value=".info">.info <option value=".name">.name <option value=".co.uk">.co.uk </select> <input type="submit" value="Go"> </form> 0 Quote Link to comment Share on other sites More sharing options...
generic Posted January 20, 2007 Share Posted January 20, 2007 forms cause extra space below them, one fix is to put it into a table and put the <form> tag before <tr>, reverse for closing tags. this should work. <table width="100%"> <form action="http://www.yourdomain.com/whmcs/domainchecker.php" method="post"> <tr> <td> <input type="hidden" name="direct" value="true"> Check Availability: <input type="text" name="domain" size="20"> <select name="ext"> <option value=".com">.com <option value=".net">.net <option value=".org">.org <option value=".info">.info <option value=".name">.name <option value=".co.uk">.co.uk </select> <input type="submit" value="Go"> </td> </tr> </form> </table> 0 Quote Link to comment Share on other sites More sharing options...
adakist Posted January 20, 2007 Share Posted January 20, 2007 No, not tables! Hehe, can't you just use some simple CSS like: <form style="margin: 0;" ... 0 Quote Link to comment Share on other sites More sharing options...
addeacher Posted January 20, 2007 Author Share Posted January 20, 2007 not a css fan as yet, i hear good things about css though. 0 Quote Link to comment Share on other sites More sharing options...
generic Posted January 20, 2007 Share Posted January 20, 2007 No, not tables! Hehe, can't you just use some simple CSS like: <form style="margin: 0;" ... try it. you could also google search for a solution in css. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.