I am working with a main div that contains three smaller divs inside. Each of these divs has been assigned a width of 30%, and they are all perfectly centered within the main div.
To ensure that the three divs appear side by side, I used the display: inline-block; property. However, I encountered an issue where when I set a height for the divs, the two left-most divs shift downwards while the right one remains in place. These divs only contain simple inputs and there is nothing causing them to dynamically increase in size.
Can anyone suggest a solution to fix this problem?