Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jquery css overlay div over another div?

Tags:

jquery

css

I tried to find to overlay a div over another then i found out this

But this doesnt seems to works for me ?

I just want it something like :

<div>The div below</div>
<div>OverLay div</div>

Can u please give me a working demo ?

like image 596
kritya Avatar asked Feb 24 '23 07:02

kritya


1 Answers

Here is a fiddle for you: http://jsfiddle.net/maniator/J9bjm/

The only thing you need to grasp from it is the position: absolute; and the top: 0; (or however far away from the top of the page that you want it)

like image 130
Naftali Avatar answered Mar 02 '23 19:03

Naftali