Is there a way to create 3 equal columns in HTML5 without using tables? I'm having trouble achieving the desired result:
https://i.sstatic.net/AJIA3.png
The issue is that one of the columns doesn't look like the other two, even though they all have the same CSS applied to them.
https://i.sstatic.net/fb2vl.png
Any ideas on how to fix this? I am currently using a Bootstrap template for this website.
#refGan {
display: inline-block;
width: 193px;
background-color: #F2F2F2;
height: 378px;
margin-right: 90px;
}
#refGan img {
margin-left: auto;
margin-right: auto;
display: block;
margin-bottom: 20px;
}
#refGan h3 {
font-family: Miso;
text-align: center;
color: #A53D3E;
font-weight: bold;
}
#refGan hr {
width: 30px;
position: center;
color: #f00;
background-color: #A53D3E;
height: 5px;
}
#refGan p {
font-family: 'Varela Round', sans-serif;
font-size: 15px;
color: black;
}
#refGan label {
float: left;
background: url(../pictures/button.png);
background-repeat: no-repeat;
background-size: 129px 30px;
font-size: 12px;
}
<section id="refGan">
<h3>Romance</h3>
<hr>
<div><img src="pictures/romantic anime.jpg" width="173" height="99" /></div>
<p>
This genre focuses on couples and love stories. It's very popular among young girls and has a special name in Japan: "Shoujo".
</p>
<label>
Recommended Shows
</label>
</section>
<section id="refGan">
<h3>
Action
</h3>
<hr>
<div><img src="pictures/action anime.jpg" width="173" height="99" /></div>
<p>
A classic genre that usually combines martial arts and a central hero. It's very popular among young boys and has a special name in Japan: "Shounen".
</p>
<label>
Recommended Shows
</label>
</section>
<section id="refGan" class="marcoCol">
<h3>Adventure</h3>
<hr>
<div><img src="pictures/adventure anime.jpg" width="173" height="99" /></div>
<p>
The genre known by everyone! It even reaches countries beyond Japan. Includes series like: Heidi and Nils Holgersson. What characterizes it, of course, are the adventures of the main hero.
</p>
<label>
Recommended Shows
</label>
</section>