Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

kaka_22

Firefox / IE

Recommended Posts

E ai pessoal, td bom? To quase acabando de fazer um site pro meu pai soh que tenho um problema. Simples mas msm assim nao consegui achar o erro. Tem um menu drop down que eu jah quebrei a cabeça mas ele num funciona de jeito nenhum no IE, mas no opera e firefox funcionam numa boa. Com o IE 6 ele nao funciona, no IE 7 funciona mal. Tá esquisito =/

Vou postar o código aqui embaixo, se alguem puder me ajudar, agradeço desde jah http://forum.imasters.com.br/public/style_emoticons/default/thumbsup.gif

 

ps: jah usei os tutoriais do maujor e tal e nd... e mais alguns tb. bom eh isso ai, valeu =]

 

<style type='text/css' title="mystyles" media="all"><!-- body {color: #416FA8;		   		   margin-left: -10px;		   margin-right: 10px;		   margin-bottom: 10px;		   margin-top: -7px;		   font-family: Verdana, Geneva, Arial, sans-serif; 		   font-size: 70%;		   line-height: 150%;}	 p { text-indent: 2em; }	 ul { margin: 0px; padding: 0; list-style: none; width: 180px; border-bottom: 1px solid #ccc;		 border-left: 5px groove #fff;}	 ul li { position:relative; }	 li ul { position: absolute; left: 181px; top: 0; display: none; }	 ul li a{ display:block; text-decoration:none; color:#416FA8;	 		  background:#fff; padding: 2px; border: 1px solid #ccc;							border-bottom: 0; font-weight:bold;  }	ul li a:hover  { color:#FFF; background: #416FA8; font-weight:bold; } /*Hover Styles */	 	 	 li:hover ul, li.over ul {display:block; } 	 <ul id="conteudoEsq">	 startList = function() {if (document.all&&document.getElementById) {navRoot = document.getElementById("conteudoEsq");for (i=0; i<navRoot.childNodes.length; i++) {node = navRoot.childNodes[i];if (node.nodeName=="LI") {node.onmouseover=function() {this.className+=" over";  }  node.onmouseout=function() {  this.className=this.className.replace(" over", "");   }   }  } }}window.onload=startList; /* Fix IE. Hide from IE Mac \*/* html ul li { float:left; height: 1%; }* html ul li a { height: 1%; }/* End */-->  </style>

Compartilhar este post


Link para o post
Compartilhar em outros sites

up... sem querer ser chato dando up no topico, mas so falta fazer o menu drop down do site funcionar direito no ie7... =/obrigadoo link do site: www.sicadi.com.br/ens

Compartilhar este post


Link para o post
Compartilhar em outros sites

Cara, já usei esse menu algumas vezes, só copiei e colei e funcionou.Vou mover para WS, e o pessoal pode olhar o seu código com calma.[]'s

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.