Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Olá!
Já andei pesquisando pela net e encontrei uma meia-solução para o problema. Mas mesmo ao mudar o z-index e a propriedade do posicionamento o menu continua ficando atrás da iframe.
No IE não consigo ver o menu e no Firefox a inframe não aparece!! :unsure: :unsure:
Por isso peço um help para tentar resolver o problema!
Ficam aqui os codes:
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="[http://www.w3.org/1999/xhtml">](http://www.w3.org/1999/xhtml)
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Site DEDA</title>
<link href="folha.css" rel="stylesheet" type="text/css" />
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<style type="text/css"> color: #999966;
} color: #CC9900;
text-decoration: none;
} text-decoration: none;
color: #CC9900;
} text-decoration: underline;
color: #CC9900;
} text-decoration: none;
color: #CC9900;
} background-color: #999967;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style2 {
color: #CC9900;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
-->
</style>
</head>
<body>
<div id="GERAL">
<div id="TOPO"></div>
<div id="barraesquerda"></div>
<div id="Barramenu">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="home.html" target="iframe1">Home</a> </li>
<li><a href="#" class="MenuBarItemSubmenu">Massagen</a>
<ul>
<li><a href="klassiche.html" target="iframe1">Klassiche Massagen</a></li>
<li><a href="gesicht.html" target="iframe1">Gesichtmassagen</a></li>
<li><a href="ganz.html" target="iframe1">Ganzkorpermassagen</a></li>
<li><a href="sanft.html" target="iframe1">Sanftmassagen</a></li>
<li><a href="fuss.html" target="iframe1">Fussreflexonenmassagen</a></li>
<li><a href="sensitiv.html" target="iframe1">Sensitivmassage</a></li>
<li><a href="manuelle.html" target="iframe1">Manuelle Lymphdrainage</a></li>
</ul>
</li>
<li><a href="geschichte.html" target="iframe1">Geschichte</a> </li>
<li><a href="praxis.html" target="iframe1">Praxis</a></li>
<li><a href="preis.html" target="iframe1">Preis</a></li>
<li><a href="gutscheine.html" target="iframe1">Gutscheine</a></li>
<li><a href="team.html" target="iframe1">Team</a></li>
<li><a href="adresse.html" target="iframe1">Adresse</a></li>
<li><a href="links.html" target="iframe1">Links</a></li>
</ul>
<script type="text/javascript"></script>
</div>
<div class="ESQUERDO"></div>
<div class="MEIO">
<div class="IFRAME">
<iframe src="home.html" name="iframe1" width="700" marginwidth="0" height="580" marginheight="0" scrolling="Default" frameborder="no" id="iframe1" ></iframe>
</div>
</div>
<div class="DIREITO"></div>
<div id="RODAPE"><br />
<span class="style2">Massage Praxis Elida Muniz - all rights reserved - 2008/2009</span></div>@charset "utf-8";
/ CSS Document /
#GERAL {
background-color: #999966;
width:950px;
margin: 0px auto;
position:relative;
height:100%;
text-align:center;
}
#TOPO {
background-image:url(banner.jpg);
width:950px;
height:186px;
position:relative;
}
#barraesquerda {
background-image:url(barramenuesquerda.jpg);
width:136px;
height:44px;
float:left;
position:relative;
}
#Barramenu {
background-image: url(barramenu.jpg);
width:814px;
height:44px;
float:left;
position:relative;
}
#CONTEUDO {
width:950px;
height:606px;
position:relative;
}
.ESQUERDO {
background-image: url(barraesquerda.jpg);
width:111px;
height:606px;
float:left;
}
.MEIO {
position:relative;
background-image: url(meio.jpg);
width:733px;
height:606px;
float:left;
}
.IFRAME {
position:absolute;
top:15px;
left:0px;
width:733px;
height:606px;
z-index:-1;
}
.DIREITO {
background-image:url(barradireita.jpg);
width:106px;
height:606px;
float:right;
}
#RODAPE {
background-image:url(rodape.jpg);
color:#999966;
width:950px;
height:64px;
position: relative;
clear:both;
}
Menu feito com o Spry do DW:
/ The outermost container of the Menu Bar, an auto width box with no margin or padding /
ul.MenuBarHorizontal
{
list-style-type: none;
font-size: 100%;
cursor: default;
width: auto;
padding-top: 13px;
padding-right: 0;
padding-bottom: 0px;
padding-left: 60px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
} z-index: 1000;
} margin: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
width: auto;
float: left;
padding-top: 0px;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
} list-style-type: none;
font-size: 100%;
z-index: 2020;
cursor: default;
width: 8.2em;
position: absolute;
left: -1000em;
padding-top: 0px;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
margin: 0px;
} left: auto;
} width: 11em;
} position: absolute;
margin: -5% 0 0 95%;
} left: auto;
top: 0;
}
/*******************************************************************************
DESIGN INFORMATION: describes color scheme, borders, fonts
*******************************************************************************/
/ Submenu containers have borders on all sides /
ul.MenuBarHorizontal ul
{
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #999900;
border-right-color: #CCC;
border-bottom-color: #CCC;
border-left-color: #CCC;
} display: block;
cursor: pointer;
background-color: #3C0008;
color: #FFFFFF;
text-decoration: none;
width: auto;
padding-top: 0.5em;
padding-right: 0.75em;
padding-bottom: 0.5em;
padding-left: 0.75em;
border-right-width: 1px;
border-right-style: none;
border-right-color: #999900;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #999900;
} background-color: #999900;
color: #FFF;
} background-color: #999900;
color: #FFF;
}
/*******************************************************************************
SUBMENU INDICATION: styles if there is a submenu under a given menu item
*******************************************************************************/
/ Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) /
ul.MenuBarHorizontal a.MenuBarItemSubmenu
{
background-image: url(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
} background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
} background-image: url(SpryMenuBarDownHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
} background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}
/*******************************************************************************
BROWSER HACKS: the hacks below should not be changed unless you are an expert
*******************************************************************************/
/ HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe /
ul.MenuBarHorizontal iframe
{
position: absolute;
z-index: 1010;
} display: inline;
f\loat: left;
background: #FFF;
}Abraços!
Carregando comentários...