html - Textarea overlaid on div - Alignment issues on iOS 8 -


on ios 8, i'm overlaying div textarea, same text , resetting every margin/padding values, there's still offset of 3px can't rid of. works great on chrome , safari desktop.

here's fiddle: http://jsfiddle.net/jfvz0ved/

textarea, div {     position: absolute;     top: 0;     left: 0;     font-size: 1.1em;     line-height: 1.6em;     font-family: courrier;     border: 0;     outline: 0;     padding: 0;     margin: 0;     background: transparent;     display: block;     text-align: left;     resize: none;     width: 100%;     color: black;     opacity: 0.4; } 

any idea property cause issue? don't want resort browser detection + special class if possible.

what happens when apply universal css reset?

if fixes problem, 1 of containing elements might need reset.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -