...

View Full Version : Div hiding behind another div



abhi3d
11-16-2010, 06:28 PM
Hi

I am creating new site using divs.. all going file but I have a small problem. Please look at the following image.

http://www.abhi3d.com/abhi/example.jpg

I want live help section to look like in the above image. Notice it's top part overlapping menu bar. But when I give #RightColumn{margin: -10;} it shifts up but it goes behind of the menu bar. I want it to be on top. Please see the link for the web page.

http://www.abhi3d.com/abhi/new/index.php

Thanks in advance.

Abhi

P.S: I am learning "CMS made simple" currently. I am very new to it. is it possible to convert this site into CMS made simple? how?

teedoff
11-16-2010, 07:05 PM
Try adding a z-index to the same div's style rule. z-index=1

abhi3d
11-17-2010, 04:45 AM
No I tried that also.. It's not working...

abhi3d
11-17-2010, 06:28 AM
I expect solution from the great "abduraooft".

Thanks

saro
11-17-2010, 12:22 PM
Pls add the below code in the div # RightCloumn..

#RightColumn {
Position:absolute;
top:260px;
right:167px;
}

Its working fine for me..try this.

SB65
11-17-2010, 01:03 PM
Currently you can't see the top of that div because both #RightBG and #ContentsContainer have overflow:hidden. Remove those settings and it's fine.

If you can't remove those settings then saro's absolute positioning solution is fine - although I'd probably apply position:absolute to #LiveHelp and position:relative to #RightColumn

abhi3d
11-17-2010, 04:25 PM
Wow Thanks SB65.. it worked great...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum