Previous Message
Next Message

dropdowns appearing behind content

Sent by Gunlaug_Sørtun on 28 February 2008 02:02


Rebecca Richter wrote:

> I'm wondering why my css dropdown menus are appearing behind the 
> white content area at http://www.blackfootchallenge.org/3col.html. 
> Anyone know?

It is normal that the last element gets stacked visually in front when
elements occupy the same area and no stacking-control is introduced.

Add...

..nav {
position: relative;
z-index: 1;
}

....to stack the entire navigation in front of other elements. Works in
all browsers - including IE/win.


Note that IE/win simply cannot properly stack absolute positioned
elements relative to non-absolute positioned elements or elements with
another parent, so not even a trillion in z-index on the absolute
positioned drop-down itself will make any impression on IE/win.

regards
	Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: