Jump to content

menu popup desformata no IE


fil79
 Share

Recommended Posts

Boas

Tenho um menu popup(feito no software Ultra MEnu), em que ao fazer o rollover nos itens que têm subramos, o layout sobe uns pixeis, desformatando-o (esse comportamento só se verifica no IE).




<script type="text/javascript" language="JavaScript1.2">


BuildLayer('h','','','','10','10','','','','2','0','1px Solid #000000','1px Solid #000000','1px Solid #000000','1px Solid #000000','left','#FFFFFF','','1','1','','Filter:none(Duration=0.5)','','#C0C0C0','0','Default','Pointer','','100','0','#FFFFFF')
SwapDiv('wme1','','File','blank.gif','blank.gif','0','0','arrow.gif','arroww.gif','7','7','auto','auto','Chicago,Arial,Verdana','Chicago,Arial,Verdana','9pt','9pt','normal','normal','#000000','#FFFFFF','normal','normal','none','none','#FFFFFF','#000000','blank.gif','blank.gif','1','1','1','1','1px None #000000','1px None #000000','1px None #000000','1px None #000000','1px None #3A4057','1px None #3A4057','1px None #3A4057','1px None #3A4057','middle','left','','','','_self','','','0','blank.gif','blank.gif','auto','auto','0','0','0')
FreeLayer('wme10','','6','v','0','0','2','0','1px Solid #000000','1px Solid #000000','1px Solid #000000','1px Solid #000000','#FFFFFF','','1','1','','Filter:progid:DXImageTransform.Microsoft.Inset(,enabled=0,Duration=0.2)','','#C0C0C0','0','100')
SwapDiv('wme9','wme1','New               ',_,_,_,'16','blank.gif','blank.gif','0','0',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'0px None #FFFFFF','0px None #FFFFFF','0px None #FFFFFF','0px None #FFFFFF',_,_,_,_,_,_,_,_,_,_,_,_,'0',_,_,_,_,_,_,_)
InitDiv();
Filter('True','','')
HideDiv();


</script>







e no CSS:



body {
font-family:Tahoma, Arial, Helvetica, sans-serif;
font-size: 1em;
background: #ffffff url(../imagens/fundo.gif) repeat-x;
z-index:0;

}



#header {
width: 810px;
height: 157px;
background: transparent url(../imagens/logo.gif) no-repeat;
margin: 9px auto 0px auto;
}



Agradecia muito qq ajuda, visto andar há horas e horas a bater com a cabeça

MCITP-MCTS-MCP

Link to comment
Share on other sites

Não tenho aqui o IE à mão para ver, mas recomendo usares um CSS reset, para garantir maior portabilidade entre browsers.

Outra coisa que recomendo é usares outro javascript que não esse. Se quiseres uma solução em jQuery, por exemplo, deixa um post na secção adequada que eu coloco lá um exemplo de menu desses.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.