Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Text Line Hight in Urdu in DW/CSS?

Contributor ,
Nov 08, 2025 Nov 08, 2025

Hi everybody, this is a bit of a niche question I know but does anybody know if it is possible to set the line hight of Urdu text closer together than the default when a line of text does not have any tall letters in it? If you have a line of text which does not have any tall letters in, like the second line in the example below, this would reduce the space above it and make it to go closer to the line of text above it.

 

According to sources I have found online when you set the leading, the distance in height between lines of text, in css, negative values are not allowed. Does that mean there is no way of getting rid of the space above a line of text that has no tall letters in it! It just looks a bit weird when there is only two lines and one of them does not have any tall letters in it! Thanks for your help. http://www.maximum-robot.co.uk/leading-3.html

TOPICS
How to
56
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 08, 2025 Nov 08, 2025

Try adding line-height:1;

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 09, 2025 Nov 09, 2025

Thanks Nancy. It does have some of the desired effect but it puts the cells out of line with the text, or the text out of line with the cells! However, I may be able to get the desired layout but adjusting the cell heights and the vertical alignment of the text in the cell. We’ll see how it goes! Thanks again! http://www.maximum-robot.co.uk/leading-5.html

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 09, 2025 Nov 09, 2025
LATEST

Or just eliminate the tables. 

Tables aren't web-friendly, responsive or accessible. In a well-constructed CSS layout, there's no need for tables.

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines