JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<title>BRAND UNIVERSE</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="icon" type="image/png" href="../media/logo/favicon.bmp"/>
<!-- IMPORTED CSS FILES -->
<link href="test.css" rel="stylesheet" type="text/css" /> <!-- MAIN CSS -->
</head>
<body>
<table class="container" border="1">
<colgroup>
<col width="5%"><col width="5%">
<col width="5%"><col width="5%">
<col width="5%"><col width="5%">
<col width="5%"><col width="5%">
<col width="5%"><col width="5%">
<col width="5%"><col width="5%">
<col width="5%"><col width="5%">
<col width="5%"><col width="5%">
<col width="5%"><col width="5%">
<col width="5%"><col width="5%">
</colgroup>
<tr class="header">
<td colspan="1"></td>
<td colspan="4">
<a href=""></a>
</td>
<td colspan="15">
</td>
</tr>
<tr class="top_gap">
<td colspan="20"> </td>
</tr>
<tr class="title">
<td colspan="1"></td>
<td colspan="11"></td>
<td colspan="7" valign="bottom" style="height:0;" >
<div class="transparent">
here is the title
</div>
</td>
<td colspan="1"></td>
</tr>
<tr class="main">
<td colspan="1"></td>
<td colspan="11"></td>
<td colspan="7" valign="top" style="height:0;" >
<div class="main">
<div class="transparent">
here is the main text.I wnt this cell to havef a scrollbar if the content of the text overflows the height here is the main text.I wnt this cell to havef a scrollbar if the content of the text overflows the height here is the main text.I wnt this cell to havef a scrollbar if the content of the text overflows the height here is the main text.I wnt this cell to havef a scrollbar if the content of the text overflows the height here is the main text.I wnt this cell to havef a scrollbar if the content of the text overflows the height here is the main text.I wnt this cell to havef a scrollbar if the content of the text overflows the height here is the main text.I...
CSS
*{
margin: 0;
padding: 0;
}
html,body {
height: 100%;
font-family: Century Gothic, Arial, Courier New, Sans-Serif;
font-size: 1em;
overflow:hidden;
}
table{
border-collapse: collapse;
table-layout: fixed;
}
table.container{
width:100%;
height: 100%;
min-height: 100%;
}
tr.header{
height:15%;
background-color: rgba(255,255,255,0.8);
}
tr.title{
height:10%;
}
tr.main{
height:60%;
}
tr.footer{
height:5%;
background-color: rgba(255,255,255,0.8);
}
tr.top_gap{
height:5%;
}
tr.bot_gap{
height:5%;
}
div.main{
width:100%;
height:100%;
display:block;
position:relative;
overflow:auto;
}
div.transparent{
padding:3em;
background-color: rgba(255,255,255,0.7);
display:block;
}