---
title: "Bottom line of text, ignoring line height?"  
description: "Bottom line of text, ignoring line height?"  
author: "Anonymous User"  
published: 2013-09-25  
updated: 2013-09-25  
canonical: https://www.mindstick.com/forum/1530/bottom-line-of-text-ignoring-line-height  
category: "html5"  
tags: ["html5"]  
reading_time: 1 minute  

---

# Bottom line of text, ignoring line height?

I have two [containers](https://www.mindstick.com/interview/2194/which-containers-use-a-flowlayout-as-their-default-layout-in-java) one on top of each other, the top one has a few paragraphs of [text](https://www.mindstick.com/blog/301635/did-people-reinvent-texting-to-express-the-full-range-of-emotions) in it.

I need the bottom line of text to be 50px above the bottom [container](https://www.mindstick.com/forum/159610/how-to-connect-a-windows-container-to-a-service-running-on-localhost).

So i have either 50px [margin](https://answers.mindstick.com/qa/104990/what-is-a-margin-call) bottom to the top container, or 50px top margin to the bottom container.

The [problem](https://yourviews.mindstick.com/view/81399/tackling-the-problem-of-unemployment-during-corona-pandemic) is that its not 50px exactly from the bottom line of text because of the line height applied to the text.

Is there anyway to make text sit flush at the bottom when it reaches that point?

Hope that makes sense... i appreciate its only minor but some [clients](https://www.mindstick.com/articles/23254/why-millions-of-clients-trust-hostinger-s-vps-hosting) want it specific.

## Replies

### Reply by Anonymous User

Hi John,

You can try setting line-height in the top container the same as its font-size

font-size: 14px;

line-height: 14px;


---

Original Source: https://www.mindstick.com/forum/1530/bottom-line-of-text-ignoring-line-height

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
