Is there a way to create a table where the height remains constant regardless of the number of rows added?
For example:
https://i.sstatic.net/zJNqD.png
Even if rows are added, I want the height to stay consistent.
I cannot use percentage since the number of rows is unknown (calendar).
CSS:
.cMid-Calender table{
width:100%;
height:calc(100% - 95px);
table-layout:fixed;
border-collapse: collapse;
text-align:center;
}
.cMid-Calender th{
font-size: 14px;
height:30px;
font-weight: 300;
color:#f333;
text-align: left;
padding-left:10px;
background-color:#f8f8f8;
height:25px;
}
.cMid-Calender td{
border-top:1px solid #eaeaea;
font-size: 22px;
font-weight: 200;
cursor: pointer;
overflow: hidden;
color:#767676;
padding:0px;
vertical-align: top;
text-align: left;
}