Table Issue

admin

Administrator
Staff member
Have a look at a page I'm developing the url is <!-- m --><a class="postlink" href="http://www.jobszoo.com/test/zone8.html">http://www.jobszoo.com/test/zone8.html</a><!-- m --> <br />
It looks fine in IE & NS6, but if you look in NS4, an extra white table row appears at the top of the page - why is this happening??<!--content-->Its probably because of this:<br />
<br />
</td><br />
</form><br />
</tr><br />
<br />
move the </form> tag to <br />
<br />
</form><br />
</td><br />
</tr><br />
<br />
And see if that is waht is causing it.<br />
<br />
I know that if you move up the </form> tag it will add the gap to the table where the form is but you may have to decide upon the lesser of two evils in the case of N4. Either that or continue to play with the placement of the </form> tag and see if you can find a spot that it does not mess up your layout too much.<!--content-->hehe I know this all too well. what ever you do to that form tag, you will not be able to get rid of that space in NS4.xx<br />
<br />
the reason is that the form tag is a block level tag. which means it creates a block around it. you can use style attributes to get rid of it in IE but nothing will work in NS4.xx.<br />
<br />
if you use one form on all you pages then you can put the form tags at the beginning of teh page and at the end. but if you use more than one form this will mess it up as the form action will be taken over by the first form tag.<!--content-->I have solved the problem,it is possible - my code was a bit dodge in a couple of instances..<br />
I have uploaded the new version should anyone be interested. Thanks.<!--content-->Originally posted by scoutt <br />
hehe I know this all too well. what ever you do to that form tag, you will not be able to get rid of that space in NS4.xx<br />
<br />
the reason is that the form tag is a block level tag. which means it creates a block around it. you can use style attributes to get rid of it in IE but nothing will work in NS4.xx.<br />
<br />
if you use one form on all you pages then you can put the form tags at the beginning of teh page and at the end. but if you use more than one form this will mess it up as the form action will be taken over by the first form tag. <br />
<br />
How about moving the <form> tag to outsude of the table containing the form elemtns? I.e.:<br />
<br />
<form><br />
<table><br />
<tr><br />
<td>some form element</td><br />
</tr><br />
</table><br />
</form><br />
<br />
Would that not work.<!--content-->nope that doesn't work. well it would but if you have a table under that it will push it down.<br />
<br />
if the page has only one form on it it does work. but if there is anotehr form or table on that page it won't. I made a little test table page that shows exactly what is going on.<br />
<br />
link removed<br />
<br />
move the form tag to the outside of the middle table. make sure you test it in both browsers, IE and NS. IE will work one way but not NS. so the way it is now it works in IE but not ns. I also have a thread on this forum about this tooo with a couple of fixes in it.<br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlforums.com/showthread.php?s=&threadid=10950&highlight=form">http://www.htmlforums.com/showthread.ph ... light=form</a><!-- m --><!--content-->
 
Back
Top