My tabs are filled with text, but I'm having trouble adjusting the height using either height:auto
or height:100%
. When using px
, it works fine but restricts the tab from expanding when there is a lot of text.
This is the CSS code I am currently using:
.tab-section {
float: left;
width: 100%;
height: 792px;
margin-bottom: 25px;
}
Is there a way to make the height be auto
regardless of the amount of text?