0

I refer for this post How to partition input field to appear as separate input fields on screen?. It's working for every browser fine. But ie not working for position:sticky. any other option i can use, Below my code.

.otp_form_control {
  border-radius: 0;
  border: 0;
  outline: 0;
  background-color: transparent;
  padding-left: 24px;
  letter-spacing: 67px;
  background-image: linear-gradient(to left, #cacaca 76%, rgba(255, 255, 255, 0) 0%);
  background-position: bottom;
  background-size: 79px 1px;
  background-repeat: repeat-x;
  background-position-x: 60px;
  width: 510px;
  min-width: 510px;
  font-weight: bold;
  font-size: 20px;
}

#divInner {
  left: 0;
  position: sticky;
}

#divOuter {
  width: 455px;
  overflow: hidden;
}

input[type=text]::-ms-clear {
  display: none;
}
<div id="divOuter">
  <div id="divInner">
    <input id="otp21" class="otp_form_control" name="otp1" autocomplete="off" maxlength="6" type="text" />
  </div>
</div>

IE browser only not working... Some one help me

Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339
Sastha
  • 121
  • 1
  • 2
  • 7

0 Answers0