如何消除图片和文字之间的缝隙? [英] How do I remove this gap between my picture and my text?

查看:169
本文介绍了如何消除图片和文字之间的缝隙?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前为我的顶部栏设置了一个图片.它是一幅图像,其下方带有导航栏.我尝试了所有操作,但导航栏和图片之间存在差距.如何删除呢?

这是一个截图,以防我的文本太混乱而无法理解.

[ ^ ]

我不是说导航栏的底部,而是指空间图片和导航条之间的空间很小.如何删除它?

I currently have an image set for my topbar. It''s an image with a navigation bar right beneath it. I tried everything, but there''s a gap between my navigation bar and my picture. How do I remove this?

Here''s a screenshot in-case my text was too confusing to understand.

[^]

I''m not talking about the bottom of the nav bar, I mean the little space between the space picture and the bar. How do I remove this?

推荐答案

了解此 CSS框模型 [ ^ ]并自己解决.
Learn this CSS Box Model[^] and figure it out yourself.


这篇关于如何消除图片和文字之间的缝隙?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆