Reservation Date<br> <input style="height:40px;width:300px;" type="date" name="date">
<span class="error">*<?php echo $dateErr;?></span>
<br><br>
Reservation Time<br>(Mon - Thur: 18:00 - 23:00 Fri - Sun: 12:00 - 00:00)<br> <input type="time" align="center" style="height:40px;width:300px;" name="time">
<span class="error">*<?php echo $timeErr;?></span>
<br><br>
i am trying to make a form for a website. i used type date for the date entry and made the box larger. however the arrows are very small and do not take the whole box as shown in the image. does anyone know how to fix this ?
最佳答案
没有原生方法可以更改元素中箭头的样式。但你可以稍微绕过它。看看这个问题。我认为这正是您正在寻找的。p>
Making up down arrow of HTML's input number very bigger and cleaner
关于php - 网站表单日期类型问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36515801/