Hi,
This will validate, (http://validator.w3.org/)
<form method="POST" action="" name='xForm' style='background:inherit;'>
<table style='background:inherit; width:100%;'>
<tr width=80%>
<td>
<input type="text" value="search" style="width:100%; text-align:left;">
</td>
<td width=20%>
<input type="submit" value="go" style="width:100%; text-align:left;">
</td>
</tr>
</table>
</form>
But this will not,
<table style='background:inherit; width:100%;'>
<form method="POST" action="" name='xForm' style='background:inherit;'>
<tr width=80%>
<td>
<input type="text" value="search" style="width:100%; text-align:left;">
</td>
<td width=20%>
<input type="submit" value="go" style="width:100%; text-align:left;">
</td>
</tr>
</form>
</table>
(the <form> is inside the <table> tag). Why is it different?
The reason why i ask is because i want to place the valid code above in
another table, (the code above will be a cell of a table), but internet
explorer makes the height of the cell greater. The two inputs are correctly
side by side but if i put the 'valid' code in the cell then the height is
valid.
the cell that are wrong are,
<table style='background:inherit; width:100%;'>
<tr>
<td>Item 1</td>
<td>Item 2</td>
<td>Item 3</td>
<td>Item 4</td>
<td><!-- Valid form --></td>
<tr>
<table>
Many thanks for your input.
Sims