Page 1 of 1
Test Spacing uneven
Posted: Thu Jun 10, 2021 9:16 am
by santieb
Hi Pablo
Please see below link with the demo. The text line spacing is uneven, how can i edit that?
http://www.kimfairbairn.co.za/
Kind Regards
Santie
Re: Test Spacing uneven
Posted: Thu Jun 10, 2021 9:59 am
by Pablo
The object has different font size.
- selext all text
- set the same fonts size
Re: Test Spacing uneven
Posted: Thu Jun 10, 2021 10:08 am
by santieb
The client wants the "2" of m2 a smaller font size...so is there another way to sort the spacing out?
Santie
Re: Test Spacing uneven
Posted: Thu Jun 10, 2021 10:35 am
by Pablo
Why not use the standard superscript?
If you use a different font-size the same line then this will affect the line spacing for that line.
Re: Test Spacing uneven
Posted: Thu Jun 10, 2021 10:46 am
by santieb
He wants the "2" even smaller then the programs superscript...
Re: Test Spacing uneven
Posted: Thu Jun 10, 2021 11:22 am
by Pablo
It's not the 'programs superscript', superscript is a standard HTML functionality so it works as it works.
Re: Test Spacing uneven
Posted: Thu Jun 10, 2021 11:29 am
by santieb
okay, so i guess that would be the size then..one can't change it?
Re: Test Spacing uneven
Posted: Thu Jun 10, 2021 1:22 pm
by Pablo
The size of the superscript is determined by the browser based on the current font-size.
If you really what to change it, then you can add this code (between the head tags of the Page HTML)
Code: Select all
<style>
sup
{
font-size: 8px;
}
</style>