Evitate di usare le tabelle se non per i contenuti, per l'impostazione del layout si usa il tag <div>.
comunque:
<html>
<head>
<title>Untitled</title>
<style>
body, html {
padding: 0;
margin: 0;
}

.tab1{
width:400px;
height:30px;
border:1px solid black;
margin: 0;}
.tab2{
width:400px;
height:300px;
border:1px solid black;
margin: 0;}
</style>
</head>

<body>

<table class="tab1">
<tr><td>tabella 1</td></tr>
</table>
<table class="tab2">
<tr><td>tabella 2</td></tr>
</table>
</body>
</html>
Prova ora.