css - Mis-Aligned Sliding Doors in IE7 -
i have web application designed target ie7. readjusting css make app presentable in latest version of chrome without breaking ie7 users. i've fixed mis-aligned sliding door input boxes throughout site there 1 page cannot sliding door align in both ie7 , chrome. setup simple:
<span> <input type="text" ... /> </span>
in case span holds left cap of sliding door , input holds right cap , body. i've styled both span , input inline-block same height , no margins or padding. chrome nails , looks great ie7 rendering input 1 pixel lower span so:
need more reputation post images
if add -1px of top margin input ie7 renders thing correctly , chrome renders misaligned. i've tried comparing instance of other sliding door inputs in app work in both ie7 , chrome cannot life of me see different here....
anyone run problem before?
there's better way fix this, without seeing it..
add class
broken input
such "ie7fix", then:
/* applies ie7 */ *+html .ie7fix { margin-top: -1px; }
Comments
Post a Comment