Skip to main content
Gareth_Williams
Inspiring
November 8, 2025
Answered

Text Line Hight in Urdu in DW/CSS?

  • November 8, 2025
  • 1 reply
  • 81 views

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

Correct answer Nancy OShea

Try adding line-height:1;

 

1 reply

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
November 8, 2025

Try adding line-height:1;

 

Nancy O'Shea— Product User & Community Expert
Gareth_Williams
Inspiring
November 9, 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

Nancy OShea
Community Expert
Community Expert
November 9, 2025

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