HTML font size in percentages

Keith Clarke keith.clarke at
Fri May 20 12:50:55 EDT 2022

Hi Jaque,
A lot will depend:
1) Whether the changes in font size within the nested HTML tags have been set locally or ‘more properly' as relative to the root font size of the page in ‘rem’, where 1 rem = 100% of the root font-size).
2) you want a global font-size adjustment or more granular.

If you can set CSS in the page (via the browser widget of by inserting text into the HTML), you could try experimenting with setting the body or other outermost element font-size to 5rem to see if that affected sizing throughout?

For example, if the page it has a body tag, you could insert the following style block into the HTML header tag.

body {font-size: 5rem;}

> On 20 May 2022, at 17:32, J. Landman Gay via use-livecode <use-livecode at> wrote:
> I have a field whose HTMLtext is set to a heavily tagged HTML file that changes the font size repeatedly. We want to allow the user to adjust the size of the text. The easiest way would be to use percentages for the font sizes so that changing the field's textsize would change the markup proportionally, but LC fields don't seem to support that. Is there a trick or do I need to do a series of replacements? I'm afraid that will be too slow, there's a lot of text.
> --
> Jacqueline Landman Gay | jacque at
> HyperActive Software |
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list