Skocz do zawartości

Wyśrodkowanie strony w IE


djpittbull

Recommended Posts

Mam problem z wyśrodkowanie strony. W firefox'ie i operze jest wszystko ok, natomiast w IE strona jest z boku zamiast na środku, oto kod CSS, powiedzcie co jest źle, lub co trzeba dodać.

html, body  
	{background: #0b1011; 
	font-size: 1em; 
	font-family: verdana, tahoma, arial, helvetica, sans-serif;
	width: 800px;
	margin: 0 auto;

	}
}

#Top{
width: 800px;
	margin: 0 auto;
}
	#MENU {
		clear: both;
	background-image: url('images/tlomenu.png');
	width: 190px;
	height: 558px;
	float: left;
	overflow: hidden;



}

#p{
	margin-top: 50px;
	margin-left: 40px;

}


#Container {
	background-image: url('images/tlotresc.png');
	width: 610px;
	height: 558px;
	float: left;
	overflow: hidden;
	font-size: 12px;
	font-family: Verdana;


}
#Scroller-1 { 
	margin-left: 35px;
	margin-top: 40px;
  position: absolute; 
  overflow: hidden;
  width: 530px;
  height: 400px;
}
#Scroller-1 p {
  margin: 0; padding: 10px 30px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  text-indent: 20px;
  color: #6F6048;
}
.Scroller-Container {
  position: absolute;
  top: 0px; left: 0px;

}
.Scrollbar-Up{
  cursor: pointer;
  position: absolute;
  margin-top: 450px; 
	margin-left: 90px;

}
.Scrollbar-Down {
  cursor: pointer;
  position: absolute;
  margin-top: 450px; 
	margin-left: 105px;
}
#POZIOME {
	margin-left: 0 auto;
		clear: both;
		height: 61px;
		width: 800px;
}



#stopka {
	clear: both;
	width: 800px;
	height: 55px;
	background: url("images/stopka.png") no-repeat;
	font-size: 10px;
	font-family: Tahoma	;
	margin: 0 auto;
	color: white;
	text-align: center;
	text-indent: 15px;
	}



ul.menu, ul li {
	display: block;
	list-style: none;
	margin-left: 0;
	padding: 0;
}

ul.menu {
	width: 80px;
}

ul.menu a:link, ul a:visited {
	display: block;
	width: 80px;
	text-decoration: none;
	background: url('images/pustybaner.png');
	padding: 5px;
	border: 0;
	font-weight: bold;
	font-size: 12px;
	color: black;
	font-family: tahoma;
	text-indent: 15px;


}

ul.menu a:hover {
	border-style: inset;
	padding: 7px 3px 3px 7px;
	background-image: url("images/zmianabaner.png")
}





ul.tree {
	display: block;
	margin-left: 50px;
	padding-left: 0;
	width: 400px;
	height: 10000px;

}

ul.tree ul {
	display: display;
	margin-left: 0;
	padding-left: 0;
	margin-top: 0;
	margin-bottom: 0;

}

ul.tree li {
	display: display;
	list-style-type: none;
	padding-left: 0px;
	background-color: none;
	background-position: left top;
	background-repeat: no-repeat;
	color: black;
}

ul.tree li.closed {
	background-color: none;
	background-position: left top;
	background-repeat: no-repeat;
	color: #ab8c08;
	font-weight: bold;
}

ul.tree li.opened {
	background-color: none;
	background-position: left top;
	background-repeat: no-repeat;
	color: black;
}

ul.tree li a {
	font-size: 14px;
	text-decoration: none;
	cursor: pointer;
	border: 0px;
}

ul.tree li a.folder {
	cursor: pointer;
}

ul.tree li a.active {
	font-weight: bold;
}

ul.tree li a:hover {
	text-decoration: underline;

}

  • Upvote 9
Link do komentarza
Udostępnij na innych stronach

  • 4 weeks later...
  • 2 months later...
  • 5 months later...
  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gość
Odpowiedz...

×   Wkleiłeś treść z formatowaniem.   Usuń formatowanie

  Only 75 emoji are allowed.

×   Twój link będzie automatycznie osadzony.   Wyświetlać jako link

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Wczytywanie...
×
×
  • Utwórz nowe...