Einzelnen Beitrag anzeigen
  #1 (permalink)  
Alt 02.03.2008, 22:52
Shyne Shyne ist offline
Erfahrener Benutzer
XHTMLforum-Mitglied
Thread-Ersteller
 
Registriert seit: 17.01.2008
Beiträge: 153
Shyne befindet sich auf einem aufstrebenden Ast
Standard Problem mit margin-left

Hi ich hab ein Problem mit der Darstellung einer Grafik. im Firefox & Opera wird sie nach links verschoben, im IE nach rechts.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 
<title>Problem mit der Darstellung</title>

<style type=text/css>
#up {
	margin-left: 134px;
	background: url(images/rahmen1.gif) no-repeat;
	color: #fff;
	padding-right: 150px;
	padding-top: 4px;
	text-align:right;
	line-height: 10px;
}

</style>

</head>
<body>

<div id="up">
<a class="downsite" style="font-size: 9pt;" href="#">Feedback</a> | <a class="downsite" style="font-size: 9pt;" href="#">Logout</a>
</div>

<div id="navi">
<center>
<table style="margin:0px;background-color: #FFFFFF; border:5px; border-color:#6A0000; text-align:center; width:716px;border-style:solid;">
	<tr>
		<td>
			<img style="display:block;" alt="Kontakt" width="484" height="250" src="">
		</td>
		<td bgcolor="#6A0000" width="199">	
				
		</td>
	</tr>
</table>
</center>
</div>
</body>
</html>
Problem liegt beim margin-left. Die Browser sehen es unterschiedlich.

Weiss jemand wie ich das Problem beheben kann?
Mit Zitat antworten
Sponsored Links