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.
<style>
body {font-size: 5rem;}
</style>
Best,
Keith
> On 20 May 2022, at 17:32, J. Landman Gay via use-livecode
> <[email protected]> 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 | [email protected]
> HyperActive Software | http://www.hyperactivesw.com
>
>
>
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode