css - z-index on IE, can't get div's text behind button -


i have problem in ie. have button , on button have div text shows text. text comes , changes javascript. .ui-dp generated in js. need click on button when text on it. used z-index , solved problem everywhere except in ie. tried many variants found here , google, nothing.. can please help?

html looks this:

<div class="calendar">   <button class="ui-dp"></button>   <div class="js-timeperiod timeperiod"></div> </div> 

css looks this:

.calendar {   display: inline-block;   float: center;   height: 28px;   width: 200px; }  .ui-dp {   position: relative;   z-index: 2;   height: 28px;   background-color: transparent;   padding: 0px;   border: 0;   outline: 0;   cursor: pointer;   width: 200px;   text-align: left;   top: 0;   left: 0; }  .timeperiod {   position: relative;   z-index: 1;   top: -30px;   left: 32px;   padding: 2px;   text-align: center;   height: 28px;   width: 150px;   float: center; } 

i have specify seems work click on timeperiod element no text on it. when there text in between, doesn't work.

i made jsfiddle js code. select date , text appear example here

this may soliution this: change both positions "attitude" , change z-index 2&3

good luck!


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -