产生原因:主要是因为图片的垂直对齐方式vertical-align引发的,默认值是baseline,默认为此值时图片下方就会多出3px。
解决方案:
1.将图片的垂直对齐方式vertical-align的值设置为bottom,就可以解决这个问题。
2.将图片display设置为block,并且指定width和height。
3.设置图片所在的容器元素和width和height与图片一样。
产生原因:主要是因为图片的垂直对齐方式vertical-align引发的,默认值是baseline,默认为此值时图片下方就会多出3px。
解决方案:
1.将图片的垂直对齐方式vertical-align的值设置为bottom,就可以解决这个问题。
2.将图片display设置为block,并且指定width和height。
3.设置图片所在的容器元素和width和height与图片一样。
git push 错误: hint: Updates were rejected because the tip of your current branch is behind
发表时间:2022-03-12
npm run server 出错:If you are using vue-loader@>=10.0, simply update vue-template-compiler ?
发表时间:2021-09-21
发表时间:2020-04-21
发表时间:2019-11-15
hibernate oracle 查询:Fail to convert to internal representation
发表时间:2019-05-10
centos Java 提示:/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
发表时间:2019-04-08
mysql no operations allowed after statement closed
发表时间:2019-03-12
log4j与logback冲突的解决与思考~ 日志级别还设置的是info,为什么会打印出大量的debug日志呢?
发表时间:2019-02-23
发表时间:2018-12-13
idea maven 新增的module模块无法new创建class文件
发表时间:2018-12-10
发表时间:2018-11-20
发表时间:2018-11-06