E-store product divisions in sync

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### &euro;</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;}

Answer №1

It seems like the problem lies within your CSS code, specifically related to either vertical-align: top or display: inline-block

Could you please share the CSS snippet that pertains to this section of your application?

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Trouble arises when attempting to animate the movement of two distinct objects consecutively using jQuery

I am facing an issue with combining animations of two different objects so that the second one starts when the first one ends. I attempted to use a callback function, but it seems I have made some syntax errors that are causing jQuery to crash or behave un ...

What could be causing the jQuery Mobile DOM element to return 'undefined' when using .val()?

Currently, I am experimenting with Jquery Mobile and facing an issue where my Form elements are returning 'undefined'. I suspect that the problem lies in the fact that my form may not be created when the onclick() function is triggered by the Mem ...

Opening a modal from a different component in Angular 6

I am attempting to launch a modal that is associated with a separate component. However, I encountered an error ERROR TypeError: Cannot read property 'show' of undefined Here is my code: product-catalog.component.html <app-cart-table-modal& ...

``CSS: Styling a Rounded Div with a Clipped Scrollbar

I am attempting to contain a scrollbar within a div so that it remains within the rounded corners without overflowing. Take a look at the code snippet below to see the problem in action. Is there a way for the scrollbar to be fixed in its position, while ...

Interacting with PHP through JavaScript function calls

I am facing some frustration with my website due to an issue involving PHP. When I retrieve data from a PHP file, it returns a JSON list like this: {"Data":{"Recipes":{"Recipe_5":{"ID":"5","TITLE":"Spaghetti Bolognese"},"Recipe_7":{"ID":"7","TITLE":"Wurst ...

Display a custom dropdown menu depending on the value chosen from a separate dropdown menu

There are three dropdown lists, each enclosed in its own DIV container. The DIV containers are named fromCity, WithinStateLimits, and OutOfState. The goal is to use the jQuery script below to hide the other two DIVs when a user selects an option from the ...

Guide on aligning two images side by side

Is there a way to align two images side by side and then include a <div> with a smaller width and apply overflow: hidden? Similar to a slider. I keep getting images stacked on top of each other (block level), but I want them inline. * { margi ...

The brand in the Bootstrap 4 navbar remains consistent even when the screen is maximized

Having an issue with my navigation bar design. I'm currently working with Bootstrap 4 Beta and facing a problem when trying to adjust the navbar-expand-... The current appearance of the navbar-brand looks like this: COMPANY NAME However, I want it ...

Adjustable table region in PHP

I need help with displaying multiple results in a dynamically created table within my program. Even though I want to show around 25 records, the program cuts off after the 5th record, leaving empty space. The issue seems to be that the area does not expand ...

Steps for displaying the output of a post request in printing

I am currently working on creating a basic search bar functionality for daycares based on user input. I am utilizing a post request to an API and receiving back a list of daycares that match the input. Below is the code snippet: <template> <div ...

Divergent behavior of SVG elements in Firefox versus Chrome with HTML5

I am trying to position a 'div' under a 'textarea' within an 'svg' and 'g' element. This works fine in Firefox, but not in Chrome. When I apply a transform on the 'g' element, it moves correctly to the des ...

Having trouble with JQuery's append method on the <head> tag?

I am having an issue with this particular code block. It seems to be unable to insert the meta tag into the head section. Any suggestions on how to resolve this problem? <html> <head> <title>hello world</title> </head> < ...

Sketch a variety of numerical values in a circular formation

I was working on a number circle using the below fiddle, but I need it to always start from 0 at the top. How can I achieve this? Additionally, I would like to connect the numbers from the inner circle border to the number with a dotted line. How can I dr ...

Perpetual horizontal scrollbar always in sight

I am currently working on a web application using Angular and Lumx. I have implemented a dialog that contains a table with multiple columns and rows, requiring both horizontal and vertical scrolling. However, the issue I am facing is that the horizontal s ...

I am experiencing issues with the functionality of front-page.php on my WordPress website

Seeking guidance in addressing a web development issue: I have encountered a problem with a website that I am currently working on locally using WordPress. I added the following code to the header.php file: <link rel="stylesheet" type="text/css" href= ...

Background image in full view

Can anyone help me create a full background on my page? I'm not sure if there's an issue with my code. https://i.sstatic.net/vdOVs.png This is my code: return ( <div className="bg welcome container text-center" style={{ ...

How can I load a hyperlink into a div by clicking on a link?

I've encountered a familiar issue that has been discussed before, and despite attempting the suggested solutions, I can't seem to make it work. Essentially, my situation involves having links structured like this: <ul> <li class=&a ...

Target the last element of a specified type in CSS without selecting any of its sub

I have a main element with nested children, some of which share a common CSS class. My goal is to select the last child of the main element without selecting the last sub-child as well. I have attempted two methods so far: Using :last-child .some-cl ...

Navigate the speech bubble tail by moving or rotating it with your mouse

For my project, I am working on creating a dynamic speech bubble that can be dragged around the corner of the bubble with the mouse. The goal is for the tip of the speech bubble to rotate automatically based on its position. Below is a snippet of my code: ...

Unable to display images on mobile devices using HTML

I recently created a website using HTML and CSS. I have successfully added images to some of the web pages, and they display properly on laptops and desktops. However, I am facing an issue where the images do not appear on small screens, even though all im ...