How to use the "display: initial;" in IE9?

4

I made a website, but it made a mistake in IE9. The effect I made only gets cool with display: initial; (because it fits right into the letters).

The class code is as follows:

.box-slider h2 {
    font-size: 23px;
    background-color: #084867;
    display: initial;
    color: #fff;
    padding: 5px 10px 2px;
    line-height: 31px;
}

and is applied to a div giving effect to a h2 , does anyone have any suggestions for this to work?

EDITED

Follow the link link ... I put 2 examples ... open the link in chrome and IE9 and you will understand my doubt.

    
asked by anonymous 04.02.2014 / 17:16

1 answer

2

The display: initial property is not supported by IE, in which case display: inline; would not have the same result?

    
04.02.2014 / 18:11