CSS IE7 Overlay Bug

Hi There,

Our login box is always not overlaying at the top on IE7.When you hover it to Sign In @ the top of the page,the login box doesn't display correcly.
The site is @ http://78.153.202.163/


ie7-bug.docx
informabizAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

LZ1Commented:
Your #header #nav does not have any z-index applied. And since IE 7 hates z-index and layers, your going to have to apply the proper positioning.  Absolute should work, but I know it's going to screw with your layout.  
However, just for right now, try positioning it absolutely with a lower z-index.  Let us know when you've done that and we'll have another look
0
remorinaCommented:
Hi Informabiz,
Can you please try adding z-index value to the css class #header #top-header as below.

Let us know how it goes

Cheers
#header #top-header {
	margin: 24px 0 0 0;
	float: right;
	background: url(../images/bgTopHeader.png) no-repeat;
	width: 444px;
	height:  49px;
	position: relative;
        z-index:100;
}

Open in new window

0
informabizAuthor Commented:
Hi All,

Thanks for response.I have tried z-index but didn't work.
But we have found one solution on online:

We used JS to fix it.

$('#header #login-button, #header #login-box').mouseover(function(){
             $("#header #login-box").css({'top':'45px'});
             $("#nav li, #nav li a").css({'position':'static'});
}).mouseout(function(){
             $("#header #login-box").css({'top':'-9999px'});
             $("#nav li, #nav li a").css({'position':'relative'});
});

Thanks for alll your efforts
0

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
informabizAuthor Commented:
Found the answer onlie:
$('#header #login-button, #header #login-box').mouseover(function(){
             $("#header #login-box").css({'top':'45px'});
             $("#nav li, #nav li a").css({'position':'static'});
}).mouseout(function(){
             $("#header #login-box").css({'top':'-9999px'});
             $("#nav li, #nav li a").css({'position':'relative'});
});
0
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
CSS

From novice to tech pro — start learning today.