Bug 47871 - z-index doesn't work with positon: fixed
Summary: z-index doesn't work with positon: fixed
Status: RESOLVED DUPLICATE of bug 43546
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-15 08:49 UTC by temp.addr
Modified: 2002-09-24 15:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description temp.addr 2002-09-15 08:49:57 UTC
Version:           4.0 (using KDE 3.0.3)
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:          Linux (i686) release 2.4.18-4GB

z-index seems to work for elements that use position: absolute, but if you use position: fixed on an element, that element will always be the top layer in Konqueror - even if the z-index has been set low. In the following example, the #fixed div will be shown as the top layer although it should be at the bottom:

#absolute {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 20;
}
#fixed {
	position: fixed;
	top: 20px;
	left: 20px;
	z-index: 10;
}
Comment 1 Ingo Klöcker 2002-09-24 15:14:40 UTC

*** This bug has been marked as a duplicate of 43546 ***