Tuesday, October 4, 2011

table to have empty cells


The table to have empty cells it must be specified with  &nbsp to how many want based on the cell-size.

it should be specified as:

<table>
<tr><td>hello</td><td>&nbsp;&nbsp;&nbsp;</td></tr>
</table>

delete the space between two tables

To delete the space between two tables:

Simply add align="left" attribute in both the tables like below and also add <br/> below the first table to avoid the second table coming to the right of the first table.

<table align="left">    
other html code here
</table><br/>

<table align="left">    
other html code here
</table>