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;  } 

http://en.wikipedia.org/wiki/css_filter#star_plus_hack


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -