JSFiddle - React, Tailwind, and code Playground

HTML

<form>
<table class="main_wrapper"><tbody><tr><td>
    <div class="header_wrapper">
        <table class="center_wrapper"><tbody><tr><td>
            <div class="centbor"> This is header</div>
        </td></tr></tbody></table>
    </div>
    <table class="center_wrapper"><tbody><tr><td>
        <div style="height:200px;border:1px solid red;">this is content</div>
    </td></tr></tbody></table>
</td></tr>
<tr id="footer_wrapper"><td><table class="center_wrapper"><tbody><tr><td><div class="centbor"> This is footah </div></td></tr></tbody></table></td></tr></tbody></table>
    
</form>

CSS

html, body, .main_wrapper {
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
}
body {
    font-size: 100%;
    text-align:center;
}
form {
    height: 100%;
}
.main_wrapper {
    margin:0px auto;
    padding: 0px 30px;
    width: 100%;
    border: 1px solid rgb(153,0,51);
    text-align: left;
}
table.main_wrapper td {
    vertical-align:top
}
.center_wrapper {
    margin:auto;
    overflow:hidden;
    white-space:nowrap;
    width: 600px;
    padding: 0px;
}
.header_wrapper {
    border: 1px solid black;
}

#footer_wrapper td {
    vertical-align:bottom;
    border: 1px solid black;
    height:20px;
}
#footer_wrapper {
}

.centbor {
    text-align: center;
    width:100%;
    /*    height: 100%;*/
    border: 1px solid rgb(153,0,51);
}