css - Inline width not working in IE when bound with AngularJS -


i created jsfiddle illustrate problem.

if have following html:

<div id="div1">     <div id="div2">test</div>     <div id="div3" style="width:{{progress}}%;"></div>   </div> 

where eg. $scope.progress = 50;, displays width in ff , chrome, in ie, width 100%;

try use ng-style:

<div id="div3" ng-style="{'width': progress + '%' }"></div> 

Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -