Bom,
eu tenho esse estilo aí, mas alguns atributos não funcionam ou atrapalham o funcionamento no Firefox, lembrando que no IE funciona perfeitamente.
É um estilo de uma tabela, onde pelo menos os atributos marcados em negrito estão avacalhando a bagaça:
.Tabela {BACKGROUND-COLOR:#COCOCO;LAYER-BACKGROUND-COLOR:#CCCCCC;VISIBILITY:hidden;POSITION:absolute;Z-INDEX:100;PADDING:1px;OVERFLOW:visible;BORDER:solid 1px #636563;TOP:22px;LEFT:9px;WHITE-SPACE:nowrap;CURSOR:default;}
Agora uma curiosidade..
No IE, eu mudando o valor de qualquer um dos atributos aí em negrito, funciona direito, agora no Firefox já dá problema, aí eu fico na dúvida se seria um problema na rotina JS ou no próprio CSS não sei..
Top, Left..
Started By edmais, 01/08/2005, 09:40
4 replies to this topic
#1
Posted 01/08/2005, 09:40
Eduardo Batista
#2
Posted 01/08/2005, 09:53
edmais,
Uma pequena dica http://jigsaw.w3.org/css-validator/
Corrija o seu css nessa página que ele constuma funcionar no IE e Firefox
Uma pequena dica http://jigsaw.w3.org/css-validator/
Corrija o seu css nessa página que ele constuma funcionar no IE e Firefox
#3
Posted 01/08/2005, 09:59
Muito bom em fi!
É algum tipo de incompatibilidade no JS mesmo.
Alguma sugestão? Algum outro validator? Rs.
É algum tipo de incompatibilidade no JS mesmo.
Alguma sugestão? Algum outro validator? Rs.
Eduardo Batista
#4
Posted 01/08/2005, 10:37
Tem esse aqui... mas infelizmente não acredito que vai te ajudar com essa sua dúvida... mas quem sabe outra
http://validator.w3.org/
Posta ai o código do seu JS para melhor entendimento
http://validator.w3.org/
Posta ai o código do seu JS para melhor entendimento
#5
Posted 01/08/2005, 11:09
Bom, o código todo é gigantesco, mas vai a parte principal onde nela está a dúvida, se alguém conseguir ver alguma coisa q eu não vi, por favor..
function TM() { if (!this.showing) { var RelObjCords=getXY(this.refTDObj); if (this.Direction) { this.divStyleObj.top = this.frmObj.style.top = RelObjCords.top + -this.divObj.offsetHeight; this.divStyleObj.left = this.frmObj.style.left = RelObjCords.left; } else { this.divStyleObj.top = this.frmObj.style.top = RelObjCords.top + 18; this.divStyleObj.left = this.frmObj.style.left = RelObjCords.left; } this.frmObj.style.height=this.divObj.offsetHeight; this.frmObj.style.width=this.divObj.offsetWidth; var pCurrMenuObj=ROP(this); CM(this); this.SBS('clicked'); this.divStyleObj.visibility = this.frmObj.style.visibility = this.strShow; this.showing=true; } else { this.divStyleObj.visibility = this.frmObj.style.visibility = this.strHide; this.showing=false; this.SBS(); } }
Eduardo Batista
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)