---
title: "Discussion on \"CSS Text\" | Hashnode"
description: "Discussion on \"CSS Text\". CSS Text\nCSS has a lot of properties for formatting text.\nText Color and Background Color👇\n\nCSS Text Alignment\nThe text-align property is used to set the horizontal alignment of a text. ( left alignment is default )\n\nExample of right alignment👇 \n\nE..."
url: "https://hashnode.com/posts/css-text/63897afebc608d676e4639bf"
---

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

Discussion

# [CSS Text](https://codemarch.hashnode.dev/css-text?utm_source=hashnode&utm_medium=feed)

CSS Text CSS has a lot of properties for formatting text. Text Color and Background Color👇 CSS Text Alignment The text-align property is used to set the horizontal alignment of a text. ( left alignment is default ) Example of right alignment👇 E...

Dec 2, 2022 · 2 min read · codemarch.hashnode.dev  
Read the article

-   [#html5](https://hashnode.com/tag/html5)
-   [#css](https://hashnode.com/tag/css)
-   [#webdevelopment](https://hashnode.com/tag/webdevelopment)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Codemarch Blog's](https://hashnode.com/@codemarch)

@codemarch

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

Learn JavaScript & React in Depth.

## Responses 1

Markdown supported · ⌘↵ to post

[Gurinder Singh](https://hashnode.com/@guri141)

[Aug 22, 2024](https://hashnode.com/posts/css-text/63897afebc608d676e4639bf/comment/66c6fe7232df38c400d49bdd)

I think vertical align property:top and vertical-align:bottom which you describle is wrong. In case of vertical align:top ,the topmost border of the small box touches the top line of content which is right but in your case the bottom border of the red box touches the top line of content which is wrong.Could you please clear this , i am right or not please?
