CSS Calc alternative
问题 I am trying to dynamicly change the width of a div using CSS and no jquery. The following code will work in the following browsers: http://caniuse.com/calc /* Firefox */ width: -moz-calc(100% - 500px); /* WebKit */ width: -webkit-calc(100% - 500px); /* Opera */ width: -o-calc(100% - 500px); /* Standard */ width: calc(100% - 500px); I want also support IE 5.5 and higher , i found the following: expression. Is this the correct usage: /* IE-OLD */ width: expression(100% - 500px); Can I also