I am currently working on an e-shop project using TYPO3 CMS. One of the issues I am facing is with the formatting of the product list (when clicking on all products). The beginnings of categories appear with varying spacing. Take a look at this picture for reference.
Here is a snippet of the HTML code on my site:
<form method="post" action="###FORM_URL###" name="shopForm">
<div class="productCategory">
<!-- ###ITEM_CATEGORY### begin -->
<h2><!--###LINK_ITEM### begin-->###CATEGORY_TITLE###<!--###LINK_ITEM### end--></h2>
<h3>###CATEGORY_NOTE###</h3>
<!-- ###ITEM_CATEGORY### end -->
</div>
<!-- ###ITEM_LIST### begin -->
<!-- ###ITEM_SINGLE### begin-->
<div class="listitem boxShadow">
<h3><!--###LINK_ITEM###-->###PRODUCT_TITLE###<!--###LINK_ITEM###--></h3>
<div class="productImage">
###PRODUCT_IMAGE1###
</div>
</td>
<p class="price">###PRODUCT_PRICE### €</p>
<p class="text">###PRODUCT_SUBTITLE###</p>
<p>
<table class="right">
<td><INPUT size="3" maxlength="4" type="text" name="###FIELD_NAME###" id="###FIELD_NAME###" value="###FIELD_QTY###" class="amount"/></td>
<td> <input type="image" src="fileadmin/templates/images/basket_add.png" name="basket" class="inputimage" alt="Kúpiť" onClick="if(!document.getElementById('###FIELD_NAME###').value!=''){document.getElementById('###FIELD_NAME###').value=1;}; submit();"/></td>
</table>
</p>
</div>
<!-- ###ITEM_SINGLE### end -->
<!-- ###ITEM_LIST### end -->
<!-- ###ITEM_CATEGORY_AND_ITEMS### end -->
</form>
<br clear="all" >
Can anyone help me figure out what could be causing this issue? I have spent days trying to solve it but have had no luck so far. Thank you in advance!
EDIT: Below are the CSS styles applied to this form:
.productCategory h2{font-size:15px;}
.listitem .text{height:32px; overflow:hidden}
.listitem h3{height: 30px; overflow:hidden; font-size:13px; }
#tt-products-list-1 form {float:left; display: inline-block;}
.right {border-spacing: 10px 50px;}