Setzi138 Posted October 8, 2021 Share Posted October 8, 2021 <tbody class="u-table-alt-grey-5 u-table-body"> <tr style="height: 55px;"> <b> <td class="u-table-cell u-table-cell-1"><b>Produkt</b><span style="font-weight: 700;"></span> </td> <td class="u-table-cell"></td> <td class="u-table-cell u-table-cell-3"><b>Einzelpreis</b></td> <td class="u-table-cell u-table-cell-4"><b>Menge</b></td> <td class="u-table-cell u-table-cell-5"><b>Gesamtpreis</b></td> </b> </tr> <tr style="height: 55px;"> <td class="u-table-cell"> Chillistangerl</td> <td class="u-table-cell"></td> <td class="u-table-cell"> € 1,39</td> <td class="u-table-cell"><input type='number' name='Menge' size='20'><br><br></td> <td class="u-table-cell"></td> </tr> the input number sticks to the top of the table how can i center it ? Quote Link to comment https://forums.phpfreaks.com/topic/313909-how-can-i-center-an-input-inside-a-table/ Share on other sites More sharing options...
requinix Posted October 8, 2021 Share Posted October 8, 2021 With vertical-align. Quote Link to comment https://forums.phpfreaks.com/topic/313909-how-can-i-center-an-input-inside-a-table/#findComment-1590794 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.