css hover not working under IE10


I've a problem in ie10 with this code (in chrome it's working perfectly):


<div class="StockDisplay">
        <div class="altstock">My text</div>


.StockDisplay{   background-image: url(../img/information.gif);}
.altstock{display:none; }
.StockDisplay:hover .altstock{    display:block;}

can you help me please

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The code works fine - though I don't know how you intend to hover a collapsed div - it has no height to hover over

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bruno_boccaraAuthor Commented:
I post a simplified code to explain  my issue.

the real css code is:

    background-image: url(../img/information.gif);
    background-color: white;
    border: #333 1px solid;

and it's perfectly work under chrome

The issue is only Under IE10 ...
Still works fine.
Do you have a link to the page - there must be something else you are missing out.
bruno_boccaraAuthor Commented:
the page is in a software working Under browser and it is intranet....

and the page load a lot of thing !

I will try to upload you more informations
absolute positioning and the parent has no position.  Therefore the position is not within stock display.  If it works in Chrome then it is because Chrome is not positioning to the standards and IE10 which means that alstock is probably being displayed somewhere else on the page;perhaps top left.  Of course if lots of things get loaded maybe it is under one of them.

Try adding position:relative to the parent div.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.