..:: MX Studio Fóruns ::..: problema de centralização no IE - ..:: MX Studio Fóruns ::..

Jump to content

Publicidade




Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

problema de centralização no IE

#1 User is offline   keiko 

  • Group: Membros
  • Posts: 1
  • Joined: 30-June 09

Posted 17 February 2011 - 05:03 PM

Pessoal estou com problema no IE em todos os outros browaers que testei esta funcionando certinho.
O background se ajusta a qualquer resolução com CSS, mas´só nesse bendito que não vai.
Segue o codigo abaixo, se alguém puder me ajudar, valeu.

   /* CSS Document */


*{
	padding:0;
	margin:0;}
	
html, body {
	heigth: 100%;
	width:100%;
	overflow: hidden;	
	}

#imagem	{
	width:100%;
	height:100%;	
	position: absolute;
	top:0;
	left:0;
	z-index:0;
}
#total
{	height: 100%;
	width: 100%;
	position: absolute;
	z-index: 1;
	top:0;
	left:0;
overflow:auto;
}
#master {
	height: auto;
	width: 960px;
	background-color:#C00;
	font-size: 18px;
	margin-right: auto;
	margin-left: auto;
}

</style>


HTML


<body >

<img id="imagem" src="imagens/Untitled-1.jpg" width="800" height="600">
<div id="total">


<div id="master">
  
 </div>
 
 </div>
</body>
</html>

0

#2 User is offline   edergabriel 

  • Group: Membros
  • Posts: 17
  • Joined: 24-November 09

Posted 20 July 2011 - 09:32 AM

Talvez, você esqueceu de colocar algum doctype?


<!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">

ou
<!DOCTYPE HTML>

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic



Publicidade




1 User(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)