absolute div hide before the relative div

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
habib009pk
Forum Commoner
Posts: 43
Joined: Sun Jul 05, 2009 11:28 pm

absolute div hide before the relative div

Post by habib009pk »

Hi Friends,

I have a little problem i have a div with position: absolute and other div with position: relative. now my problem is i want to display the absolute div above the relative div but now absolute div hide before the relative div.

Kindly help me how i remove this error.

Thanks and Regards
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: absolute div hide before the relative div

Post by pickle »

You can try giving the absolutely positioned element a high z-index property.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply