Click here to Skip to main content
15,883,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Projecto de Api</title>
</head>
<frameset frameborder=0 rows="12%,88%">
	<frame noresize scrolling=no src="p12.html">
	<frameset frameborder=0 cols="15%,70%,15%">
		<frame noresize src="p2.html">
		<frame noresize scrolling=auto src="p0.html">
		<frame noresize src="p3.html">
	</frameset>
</frameset>
</html>


So ive this page and in the 1st frameset i ve a dropdown in the 12% frame, the problem is that with the drop down, the frame its bigger than 12% so the dropdown goes behind the other frame, how can i make it so its goes in front of it so i can click it?

This is my dropdown

CSS
ul li:hover {display: inline-block; z-index: 999;}
ul li:hover ul {display:block; z-index: 999;}
ul li ul {
	position: absolute;
	width: 100px;
	display: none;
	z-index: 999;
}
ul li ul li {
	background: black;
	display: block;
	text-align: center;
	color: white;
	font-family: arial;
	z-index: 999;
}
ul li ul li a {display:block !important; z-index: 999;}
ul li ul li:hover {background: red; z-index: 999; } 


What I have tried:

Ive tried to use z-index: 999 to see if it works but it dosent
Posted

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