robdb
the text is placed in a div witch is scaleable by user over a slider.
here it is nessessary to have the same scale-factor relative to the
div-size. the div.size is controlled by text-size:16px
after scaling i will save the relative setted text-size-value.
i do not have any other idea to solve it



On 17 Jun., 12:24, robdb <[email protected]> wrote:
> I suppose you could. Can you not use pixels to achieve the same/
> similar result, save you some overhead and possibly a few headaches?
> No idea of what your actually doing or aiming for, so grain of salt,
> just 2cents worth :)
>
> On Jun 17, 7:12 pm, hamburger <[email protected]> wrote:
>
> > thx robdb
> > as your example show
> > font-size: 1.8em will become 1.75em
> > so you have to deal a little bit with round() to get twice the same
> > result ...

Reply via email to