My purpose is to put inner div
in the middle of container.
The example in fiddle:
The main problem is that inner div is shifted right in IE (Firefox and Chrome shows it fine) because of using css calc()
rule. If I uncomment constant width in example above width: 156px
, it works.
But it doesn't with calc()
. Is there any way to fix it for IE?
P.S. as I know IE8 and lower doesn't support calc()
, I was trying it in IE9.