---
title: "Discussion on \"How to remove white space below an image using CSS.\" | Hashnode"
description: "Discussion on \"How to remove white space below an image using CSS.\". You can use CSS to change the display of the image element to block element because images are by default inline elements just like texts are."
url: "https://hashnode.com/posts/how-to-remove-white-space-below-an-image-using-css/63cc23183803d2ef740e0168"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to remove white space below an image using CSS.](https://brianbud.hashnode.dev/how-to-remove-white-space-below-an-image-using-css?utm_source=hashnode&utm_medium=feed)

You can use CSS to change the display of the image element to block element because images are by default inline elements just like texts are.

Jan 21, 2023 · 1 min read · brianbud.hashnode.dev  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#image](https://hashnode.com/tag/image)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#html5](https://hashnode.com/tag/html5)
-   [#css3](https://hashnode.com/tag/css3)

## Written by

[Brian Bud](https://hashnode.com/@brianbud)

@brianbud · Toronto, Canada

  
[View profile](https://hashnode.com/@brianbud)

Software Developer

I am passionate about using tech to continue Learning, Building &amp; Connecting w/ others. I am learning web development and I hope the blogs I write will be useful to me when I inevitably get stuck in the future.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
