Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<form> and <table> 1

Status
Not open for further replies.

welldefined

Programmer
Mar 9, 2006
62
GB
I found it will get a big empty space after following block:
<form...>
<table>
<tr><td>...</td></tr>
</table>
</form>
I then chage to this and found the empty space became much smaller, that is what I need:
<table>
<form...>
<tr><td>...</td></tr>
</form>
</table>
However, W3C validator said I should not do that, W3C validator like the first block.
Can you tell me how to make smaller space after the block and make W3C validator happy?
 
Why do we have styling?
Code:
<form... [b]style="margin-bottom: 0;"[/b]>
  <table> 
    <tr><td>...</td></tr>
  </table>
</form>
You should move the style to external stylesheet eventually.
 
I have just tested what you said and that is great!
Can you explain more for that style: can we use in other case and may be we can set
<form... style="margin-bottom: 20;"> ?
 
Thanks a lot.

I just want to set a small mumber but bigger than zero.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top