Persistent margin and 1px height difference around input elements

后端 未结 5 1360
广开言路
广开言路 2021-02-20 06:03

I\'m having a problem with input elements:

\"problematic

Even though in that picture their

5条回答
  •  隐瞒了意图╮
    2021-02-20 06:36

    For a similar issue where I an image used as the button type="submit" and it wasn't exactly the same height as the input adjacent to it, I simply added this to the container of the two said inputs:

    padding-bottom:1px;
    

提交回复
热议问题