Onmouseover in css effect pushes image down, can't figure out display: inline-block code -


i have problem when re-sizing images css on mouseover effect. know there questions on site had same problem , had float: left code using, code bit different since have other effects , can't seem display: inline-block code work situation.

i think might simple 1 line of code don't see it.

  1. i have sort of window of 4 images open onmouseover, when images furthest right opens drops down. how prevent browser doing this?
  2. the second question how make other 3 images norrower when hover on 4th image?

appreciate help. here code:

http://mycodeonline.blogspot.nl/

you need use css overflow achieve talking about. here example set code.

http://jsfiddle.net/7hnzf/

i added div around , couple classes. 1 div images move in won't hit edge , drop down. <div class="window"></div> can set px width of need. overflow of div hidden.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -