php - 网站表单日期类型问题

标签 php input types

 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>

enter image description here

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 ?

最佳答案

没有原生方法可以更改元素中箭头的样式。但你可以稍微绕过它。看看这个问题。我认为这正是您正在寻找的。

Making up down arrow of HTML's input number very bigger and cleaner

关于php - 网站表单日期类型问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36515801/

相关文章:

macos - 相当于 OSX 上的/dev/input

c#插件系统问题

C:U64和uint64_t之间的区别

javascript - 如何在不刷新页面的情况下提交表单并显示结果

php - 非主键字段出现重复输入错误

php - 如何在 CodeIgniter 中实现 Redis?

types - 设计模式 : Question about "Types"

php - 找不到 Controller 方法 - laravel 4

javascript - 如何在有条件的输入文本下发出警报?

jquery - 使用 HTML5 颜色输入操作 CSS