Hi Hamburger,
Using/saving the em value is what I would do also (or percentage
values, but I'm used to em). This way you are more flexible when you
alter the body font-size (or some parent value for that matter) and
the rest scales just with it. If you save pixels than you'd have to
recalculate all the time.
Regarding the slider, I think it only works with pixels and not ems.
So you probably need to work with pixel values initially when dealing
with Slider.
You can calculate the px vs em ratio and use the ratio to convert
changes made by Slider from px to em after the onComplete event for
example.
Also, make sure you specify the correct initialStep for the slider in
pixels if you have a starting size in ems that you want to use.
On 17 jun, 14:16, robdb <
rob...@gmail.com> wrote:
> Is something like this what you had in mind?
>
>
http://jsfiddle.net/robdb/f6L5C/http://jsfiddle.net/robdb/gVhVs/