关于html中input组件间空隙的去除

  有空隙的时候的代码是这样的:

<input type="text" name="search" title="请输入要搜索的内容" style="width:537px;">
<input type="submit" value="百度一下"style="background-color:rgb(49, 126, 243);width:104px;color:white;">

  这样的话两个组件中间是有一点儿空隙的

  变成这样则没有空隙

<input type="text" name="search" title="请输入要搜索的内容" style="width:537px;"><input type="submit" value="百度一下"style="background-color:rgb(49, 126, 243);width:104px;color:white;">

  也就是写在一行,别问我为什么,我也不知道为什么-_-|||

  希望对大家有所帮助

  以上

猜你喜欢

转载自www.cnblogs.com/lavender-pansy/p/10263297.html
今日推荐