html - styling difference between IE11 and chrome -


i've simple button + or - content

<button></button>  button::before {     content: '-'; } button.active::before {     content: '+'; } 

in browsers have installed on mac (chrome,safari , firefox) button styled correct, check out in ie11 (or firefox on windows 8.1 not perfect) styling bad

demo

can explain me wrong in css, or maybe (most likely) wrong ie11. there fix, or should change css , don't use position: absolute maybe?

you forgot add left , top properties on absolutely positioned element. add them , ie behave expected.

updated fiddle


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -