Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Try adding line-height:1;
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now