After finding a design on a website that caught my eye, I decided to make some alterations to fit my needs.
The original demo had a vertical layout but I wanted the elements side by side. To achieve this, I created a table with two columns and 100% width. However, something strange happened when I added the lists inside the table.
I found an unexpected gap between the lists even though there was no padding set on top or any other objects interfering. Both the list and the table were aligned vertically. For better reference and assistance, I have included a link to a demonstration in JSFiddle.
If you could provide insight or solutions, it would be greatly appreciated. Thank you!
<table width="100%" border="0">
<tbody valign="top">
<tr valign="top">
<td valign="top">
<ul class="tabs">
<li class="tabs__item color1">
<h2><span>[Review] The New LG G18</span></h2>
<p class="tabs__stats">Content</p>
</li>
<li class="tabs__item color2">
<h2><span>[ROM][8.3.1] SlimSaber R31</span> </h2>
<p class="tabs__stats">Content</p>
</li>
<li class="tabs__item color3">
<h2><span>[APP] Goo Simulator Extreme</span></h2>
<p class="tabs__stats">Content</p>
</li>
<li class="tabs__item color4">
<h2><span>[Tutorial] Pooping Your Pants</span></h2>
<p class="tabs__stats">Content</p>
</li>
<div class="views-toggle views-toggle--hidden">
<svg fill="white" viewBox="0 0 24 24">
<path d="M16.59 8.59l-4.59 4.58-4.59-4.58-1.41 1.41 6 6 6-6z"/>
<path d="M0 0h24v24h-24z" fill="none"/>
</svg>
</div>
</ul>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="js/index.js"></script>
</td>
<td valign="top">
<ul class="tabs">
<li class="tabs__item color1">
<h2><span>[Review] The New LG G18</span></h2>
<p class="tabs__stats">Content</p>
</li>
<li class="tabs__item color2">
<h2><span>[ROM][8.3.1] SlimSaber R31</span> </h2>
<p class="tabs__stats">Content</p>
</li>
<li class="tabs__item color3">
<h2><span>[APP] Goo Simulator Extreme</span></h2>
<p class="tabs__stats">Content</p>
</li>
<li class="tabs__item color4">
<h2><span>[Tutorial] Pooping Your Pants</span></h2>
<p class="tabs__stats">Content</p>
</li>
<div class="views-toggle views-toggle--hidden">
<svg fill="white" viewBox="0 0 24 24">
<path d="M16.59 8.59l-4.59 4.58-4.59-4.58-1.41 1.41 6 6 6-6z"/>
<path d="M0 0h24v24h-24z" fill="none"/>
</svg>
</div>
</ul>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="js/index.js"></script>
</td>
</tr>
</tbody>
</table>