I have to use a calculated value for a project. Best would be to use the CSS3 calc
attribute. However, this is not supported by Android Webview native browser. Therefore, the easiest way I found was to use jQuery to handle this behavior:
$(element).css('width','100%').css('width','-=100px');
Problem is that this time, I need to use an em value instead of a px value:
$(element).css('width','100%').css('width','-=1em');
This will not work.
Would you have any (simple) solution to handle that problem?