Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a division in which there is an image. This serves as a notification image.
When i Click this image,a panel appears which shows the different notifications.

But the problem i am facing is that the panel which is inside a division, cannot be overlaped over other elements present on the screen.It is something like a facebook notification center, where on clicking the friend request button, a panel appears down and it overlaps the chat panel and the wall.

Can somebody please help me with this.!!

Thanks!
Posted

set the second division css property to

CSS
.mydiv
{
position:absolute;
}

then change the margin property .
 
Share this answer
 
v2
The subject is often called "CSS positioning". The following page covers everything you need. (Don't be lazy, read the whole page).

http://www.w3schools.com/css/css_positioning.asp[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900